Skip to main content
Glama

Check standing permission

get_mandate
Read-onlyIdempotent

Returns a standing permission's state (pending_setup, active, expired or revoked), its limits, what is used this month and today, and what is left.

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": {
      "mandate_id": "<mandate_id>",
      "mandate_token": "<mandate_token>"
    },
    "name": "get_mandate"
  }
}

Input Schema

NameRequiredDescriptionDefault
mandate_idYes
mandate_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds value by disclosing the state vocabulary (pending_setup, active, expired, revoked) and what counters come back, which is genuinely useful given there is no output schema. However it says nothing about authorization requirements for the token or how fresh the usage figures are.

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?

A single front-loaded sentence that goes straight to what is returned; no filler or restated title. It is compact, though the payload list is a little dense and could be grouped more clearly.

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

Completeness3/5

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

As a read-only two-parameter tool with annotations covering safety, the main obligations are return semantics and parameter meaning. Return semantics are handled reasonably, but with 0% schema coverage and no output schema, leaving both required parameters unexplained is a real gap.

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

Parameters2/5

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

Schema description coverage is 0% and neither parameter is documented, yet the description never mentions mandate_id or mandate_token. It does not explain that the token is an authorization credential or how the two differ, so the parameters remain opaque at invocation time.

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

Purpose4/5

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

States a specific verb ('Returns') and resource ('a standing permission's state') and enumerates the payload: state, limits, month-to-date and daily usage, and remaining balance. That distinguishes it from create_mandate and revoke_mandate in practice, but the description never names an alternative, so sibling differentiation is implicit rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite (e.g. that a valid mandate token is needed), and no explicit exclusion pointing to revoke_mandate or create_mandate. The title 'Check standing permission' weakly implies an inspection use case, but the description itself offers nothing.

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