Skip to main content
Glama

Qumge: Agent Capabilities & Skills

Get Cap details

get_cap
Read-only

Fetch one Cap's operations, prices and how to call it, by the slug returned from search_caps. Call this before using a Cap: it lists each operation (by name), its input and output schema when the developer provided one, which routes are billable, the per-call maximum, when the call settles, and the error codes the caller may see. If the request carries the user's Qumge key, it also reports that user's monthly limit for this Cap. (Older clients may still call this tool as get_app — it still works.)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>"
    },
    "name": "get_cap"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe Cap's slug, e.g. 'autowhisper'. Comes from search_caps.
qumge_keyNoOptional: your Qumge API key, for clients that cannot set an Authorization header. Takes precedence over the header. Never echoed back.

Output Schema

NameRequiredDescriptionDefault
nameYes
slugYes
summaryNo
icon_urlNo
operationsYes
price_lineYes
monthly_limit_micro_usdNo
spent_this_month_micro_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / icon_url
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / operations / items / properties / execution
      Added value: +{
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / operations / items / properties / status_tool
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / slug / description
      Previous value: -"The cap's slug, e.g. 'autowhisper'. Comes from search_caps."New value: +"The Cap's slug, e.g. 'autowhisper'. Comes from search_caps."
  3. Changed1 schema field changed
    • addedOutput schema / properties / operations / items / properties / free_calls
      Added value: +{
      +  "description": "First N calls per user are free (accounts that have topped up; failed calls don't count).",
      +  "type": "integer"
      +}
  4. Changed1 schema field changed
    • addedOutput schema / properties / operations / items / properties / meter
      Added value: +{
      +  "description": "\"platform\" means Qumge counts one unit per successful (2xx) call at the unit price — a failing call is free.",
      +  "enum": [
      +    "app",
      +    "platform"
      +  ]
      +}
  5. Changed1 schema field changed
    • changedOutput schema / required
      Previous value: -[
      -  "slug",
      -  "operations"
      -]New value: +[
      +  "slug",
      +  "name",
      +  "price_line",
      +  "operations"
      +]
  6. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "monthly_limit_micro_usd": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "operations": {
      +      "items": {
      +        "properties": {
      +          "billable": {
      +            "type": "boolean"
      +          },
      +          "doc": {
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "max_per_call_micro_usd": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "method": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "pattern": {
      +            "type": "string"
      +          },
      +          "settles": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "unit": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "unit_price_micro_usd": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "method",
      +          "pattern",
      +          "billable"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "price_line": {
      +      "type": "string"
      +    },
      +    "slug": {
      +      "type": "string"
      +    },
      +    "spent_this_month_micro_usd": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "summary": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "slug",
      +    "operations"
      +  ],
      +  "type": "object"
      +}
  7. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare a safe read (readOnlyHint true, destructiveHint false, openWorldHint false), yet the description adds substantial context beyond them: the response enumerates operations by name, input/output schemas when provided, billable routes, per-call maximum, settlement timing, and error codes. It also discloses a conditional behavior — supplying the user's Qumge key changes the output to include that user's monthly limit — and notes the legacy get_app alias still works.

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

Conciseness4/5

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

Purpose and slug source are front-loaded in the first clause, then the return contents are enumerated in a single dense sentence. The legacy-alias parenthetical is well-placed at the end. Slightly long, but each clause carries information an agent would otherwise have to discover by calling the tool.

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 two-parameter read tool with an output schema, the description covers everything an agent needs: where the slug comes from, why to call it before execution, what the response contains, how the optional key alters the result, and the backward-compatible alias. Nothing material is left to inference.

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

Parameters4/5

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

Schema coverage is 100%, so baseline would be 3, but the description adds meaning the schema does not: it explains that qumge_key has an observable effect on the response (reporting that user's monthly limit for this Cap), not merely an auth-header substitute. The slug parameter's origin is restated from the schema rather than extended.

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?

States a specific verb and resource ('Fetch one Cap's operations, prices and how to call it') with the exact identifier source ('the slug returned from search_caps'). The agent can immediately distinguish this from search_caps (discovery) and call_cap (execution) without opening any schema.

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?

Gives an explicit ordering directive: 'Call this before using a Cap', which tells the agent this is a prerequisite to call_cap, and names search_caps as the source of the slug. It stops short of stating when not to use it (e.g., for already-cached Cap metadata), so it falls just under the full when/when-not/alternatives bar.

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