get_license_status reports how this server is licensed and, under metered licensing, how much has been consumed. Worth calling before a batch: unlicensed, every generated document starts with an Evaluation Only line. Example prompt: “Is the assembly server licensed?”
Tool description (as the AI agent sees it):
Returns how this MCP server is licensed, and — under metered licensing — how much has been consumed. Call this when the user asks about licensing, evaluation limitations, metered usage, remaining credit, or which product engine version is running. Returns a JSON object with mode (“evaluation”, “licensed” or “metered”), licensed (true for both licensed and metered), consumption (null unless metered; otherwise quantity and credit, or error if the reading failed), and server / engine name and version. Takes no arguments and never modifies anything.
Parameters
None.
Example call
{"name":"get_license_status","arguments":{}}
Result
A JSON object describing the active licensing mode.
Evaluation mode — nothing configured:
{"mode":"evaluation","licensed":false,"server":{"name":"GroupDocs.Assembly.Mcp","version":"26.11.0"},"engine":{"name":"GroupDocs.Assembly","version":"26.7"},"note":"No license configured — output may carry evaluation limitations. ..."}
The full note text names the variables to set: GROUPDOCS_METERED_PUBLIC_KEY and GROUPDOCS_METERED_PRIVATE_KEY for metered licensing, or GROUPDOCS_LICENSE_PATH for a license file.