Skip to main content
Glama
receipt-gate

receipt-gate

Request one capability

request_capability

Request authorization for one action within a promise, receiving either a single-call grant or a refusal naming the exact boundary or damage-ceiling rule that blocked it.

Instructions

Ask for one action inside the promise. Granted for a single call, or refused with the exact boundary that refused it — the authority it falls outside, or the damage-ceiling rule it would cross.

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": {
      "promise_id": "<promise_id>",
      "action": "<action>"
    },
    "name": "request_capability"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
targetNo
promise_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior4/5

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

Beyond the annotations, the description discloses important outcome behavior: a grant applies to a single call, and refusal returns the exact boundary that caused it, such as authority or a damage-ceiling rule. It does not contradict the annotations; readOnlyHint=false is consistent with a capability request that affects authority state.

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 front-loaded sentence with no filler, and the grant/refusal behavior is stated efficiently. The em-dash clause is slightly dense, but it earns its place by explaining refusal detail.

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

Completeness2/5

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

The tool has three parameters, no output schema, and 0% schema description coverage. The description explains grant/refusal semantics but leaves the parameters and invocation details largely unspecified, which is a significant gap for correct use.

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%, so the description must carry parameter meaning. It vaguely implies that 'action' and 'promise' map to the request context, but it never defines promise_id, action format, or the optional target parameter.

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 a specific verb/resource: asking for one action inside a promise, with a single-call grant or refusal. It is clear this is an authorization-request tool rather than an action executor, though it does not explicitly differentiate itself from siblings like record_action or claim_done.

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 phrase 'inside the promise' gives implied scope, but there is no explicit when-to-use guidance, no when-not-to-use guidance, and no named alternative tool for cases where a capability should not be requested.

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