Skip to main content
Glama

purpose_bound_consent

Fail-closed consent bound to ID, subject, recipient, purpose, scope, issue/expiry and checked revocation state; 0.003 USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
consentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "action": {
      +      "purpose": "support",
      +      "recipient": "agent-1",
      +      "scope": {
      +        "data": [
      +          "ticket"
      +        ]
      +      },
      +      "subject": "user-1"
      +    },
      +    "consent": {
      +      "consent_id": "c1",
      +      "expires_at": 4102444800,
      +      "issued_at": 4102444700,
      +      "purpose": "support",
      +      "recipient": "agent-1",
      +      "revocation_checked": true,
      +      "revoked": false,
      +      "scope": {
      +        "data": [
      +          "ticket"
      +        ]
      +      },
      +      "subject": "user-1"
      +    }
      +  }
      +]
  2. First observed

TDQS

C2.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose one genuinely valuable behavioral trait — 'fail-closed' — signalling denial-on-failure semantics. But it omits what a failure looks like (thrown error vs. negative result), whether 'revocation_checked' must be caller-supplied, any auth requirements, and what the USDC fee actually applies to.

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 dense, front-loaded sentence with no filler; the binding dimensions are listed immediately. The embedded price token is slightly awkward but not wasteful enough to hurt more than marginally.

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?

For a two-object, nested, zero-coverage tool with no annotations and no output schema, the description should explain the return contract (pass/fail shape) and the action-vs-consent relationship. It supplies neither, leaving an agent unable to determine confidently how to build a valid call or interpret the result.

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 0% and both parameters are nested objects, so the description must compensate. It usefully enumerates the binding fields that mirror the nested consent fields (subject, recipient, purpose, scope, issued/expiry, revocation state). It does not, however, explain the distinction between the 'action' and 'consent' objects or what the required boolean flags (revoked, revocation_checked) must be set to.

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

Purpose3/5

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

The description conveys the resource (a purpose-bound consent) and its fail-closed nature, and listing the binding dimensions (ID, subject, recipient, purpose, scope, issue/expiry, revocation) helps set it apart from the many sibling guards. However, no clear verb is given — an agent must infer that this validates/evaluates a consent against an action — and the trailing '0.003 USDC' price fragment obscures rather than clarifies the operation.

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 prerequisites, and no routing among the ~35 policy/guard/preflight siblings (e.g., delegation_scope_guard, tool_call_policy_guard). The agent is left to guess the triggering condition from the name alone.

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