Skip to main content
Glama

Request a consent receipt

consent_request_receipt

Request a server-issued one-time consent receipt for a scope (followup / usage_collection / alliance / publish_reviews). Returns a receipt id and a confirm_url (absolute, environment-correct; the receipt id travels as a URL fragment, never a query parameter): show the confirm_url to the user — they must confirm the scope on VCP's own confirmation page, in their own signed-in VibeCodePicks browser session, before the receipt can be used. The MCP client cannot confirm on their behalf. The receipt is single-use and expires in 15 minutes. Pass the receipt id as receipt to consent_update. Owner credential only.

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": {
      "scope": "<scope>"
    },
    "name": "consent_request_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing single-use semantics, a 15-minute expiry, the owner-credential prerequisite, and the requirement for a signed-in browser session on VCP's confirmation page. It also documents the security-relevant detail that the receipt id travels as a URL fragment rather than a query parameter. What it omits is the failure behavior if the receipt expires or is replayed before use.

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?

Front-loaded with purpose and return value, then the confirmation workflow and finally the expiry/lifetime facts. Every clause carries operational weight. It is dense as a single paragraph, but that density is information rather than padding.

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

Completeness4/5

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

There is no output schema, so the description correctly describes the return payload (receipt id plus an absolute, environment-correct confirm_url). Combined with the expiry, single-use rule, and credential requirement, an agent has what it needs to invoke the tool and hand off to consent_update.

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?

The single required scope parameter has 0% schema description coverage, so the description must carry the load. It enumerates all four valid values (followup / usage_collection / alliance / publish_reviews), which prevents invalid input, and it separately explains how the returned id is passed back as `receipt`. It does not explain what each scope grants, leaving the agent to infer semantics from the enum names.

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 ('Request a server-issued one-time consent receipt') and names the four scopes. It also distinguishes itself from its sibling by naming consent_update as the consumer of the receipt id, so an agent can tell the two apart without opening either 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?

Lays out the sequence clearly: request the receipt, show confirm_url to the user, wait for their confirmation, then pass the id to consent_update. It also states a hard exclusion — the MCP client cannot confirm on the user's behalf. It doesn't cover cases like 'if a receipt already exists, use consent_get instead', but the positive-path guidance is unambiguous.

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