Skip to main content
Glama

My Grants

my_grants
Read-onlyIdempotent

Every grant the principal gave, per app, with children delegated to agents.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "my_grants"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoOnly this app, by id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this as read-only, idempotent, non-destructive, and local. The description adds useful scope by saying it covers grants the principal gave and includes children delegated to agents, but it does not describe return shape, pagination, ordering, or nesting beyond that vague phrase.

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?

The description is a single sentence with no filler and the scope is front-loaded. However, 'with children delegated to agents' is compact to the point of ambiguity about how those child grants appear in the result.

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?

For a simple read-only listing with one optional parameter, the description covers the essential scope and delegation inclusion. It still omits return format and pagination details, which is a meaningful gap because there is no output schema.

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?

The sole parameter is fully documented in the schema as 'Only this app, by id.' The description's 'per app' merely echoes that filter and adds no extra syntax, matching behavior, or filtering nuance beyond the schema.

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?

The description states that it returns grants (every grant the principal gave), scoped per app, including delegated children. This is a clear listing purpose and is distinguishable from mutation siblings like delegate_grant or revoke_grant, but it never explicitly differentiates itself from my_entitlements or check_entitlement.

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?

The description gives no explicit when-to-use guidance, no exclusions, and no contrast with sibling tools. Usage is only implied by the phrase 'Every grant the principal gave', leaving the agent to infer when my_grants is preferable to my_entitlements or check_entitlement.

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