Skip to main content
Glama

Get License Info

get_license_info
Read-onlyIdempotent

Returns the authenticated user's complete license allocation overview: total premium licenses, personal usage, allocatable licenses, per-organization allocations, and free licenses. Use this to understand available capacity before allocating licenses. Requires content_only scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
access_tokenNoOptional bearer token; prefer session_request_id.
session_request_idNoSession handle from create_auth_session; pass it on every authenticated call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
canAllocateNo
orgAllocationsNo
personalDisplaysNo
allocatableLicensesNo
totalAllocatedToOrgsNo
totalPremiumLicensesNo
freeAllocatableLicensesNo
personalPremiumDisplaysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / session_request_id
      Added value: +{
      +  "description": "Session handle from create_auth_session; pass it on every authenticated call.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / access_token / description
      Previous value: -"Optional JWT access token for authentication."New value: +"Optional bearer token; prefer session_request_id."
  3. Changed14 schema fields changed
    • changedOutput schema / properties / allocatableLicenses / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / canAllocate / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / freeAllocatableLicenses / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / orgAllocations / items / properties / allocatedLicenses / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / orgAllocations / items / properties / name / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / orgAllocations / items / properties / orgId / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / orgAllocations / items / properties / premiumDisplays / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / orgAllocations / items / properties / usedDisplays / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / orgAllocations / items / type
      Previous value: -"object"New value: +[
      +  "object",
      +  "null"
      +]
    • changedOutput schema / properties / orgAllocations / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / personalDisplays / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / personalPremiumDisplays / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / totalAllocatedToOrgs / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / totalPremiumLicenses / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
  4. Changed3 schema fields changed
    • removedInput schema / properties / access_token / default
      Removed value: -null
    • changedInput schema / properties / access_token / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "allocatableLicenses": {
      +      "type": "integer"
      +    },
      +    "canAllocate": {
      +      "type": "boolean"
      +    },
      +    "freeAllocatableLicenses": {
      +      "type": "integer"
      +    },
      +    "orgAllocations": {
      +      "items": {
      +        "properties": {
      +          "allocatedLicenses": {
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "orgId": {
      +            "type": "string"
      +          },
      +          "premiumDisplays": {
      +            "type": "integer"
      +          },
      +          "usedDisplays": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "personalDisplays": {
      +      "type": "integer"
      +    },
      +    "personalPremiumDisplays": {
      +      "type": "integer"
      +    },
      +    "totalAllocatedToOrgs": {
      +      "type": "integer"
      +    },
      +    "totalPremiumLicenses": {
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond annotations: it returns data for the authenticated user and requires the content_only scope, which is an auth prerequisite an agent needs to know.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences with zero filler. The core return value and included fields are front-loaded, followed by the use case and the scope requirement. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only info tool with an output schema, complete parameter documentation, and annotations covering safety, the description is sufficient. It explains what the user gets, why they would use it, and what access is required.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and both parameters are already explained in the input schema. The description does not add parameter-specific meaning, but it also does not need to because the schema carries the full burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description states specific verb 'Returns' and resource 'complete license allocation overview' with an explicit list of what is included. It clearly reads as a read-only counterpart to allocation actions, distinguishing it from siblings like manage_licenses.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says 'Use this to understand available capacity before allocating licenses,' which tells the agent when to invoke it. It does not describe exclusions or mention alternative sibling tools, but the guidance is clear enough for correct selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources