Skip to main content
Glama

request_credential

Retrieve scoped access to a saved credential by selecting direct field delivery or an origin-bound extension handle for an authenticated agent.

Instructions

Choose direct selected-field delivery or an origin-bound extension handle.

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": {
      "delivery": "<delivery>",
      "credential_id": "<credential_id>"
    },
    "name": "request_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
purposeNo
agent_idNo
deliveryYes
field_idsNo
expires_inNo
credential_idYes
target_originNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden, but it only hints at origin-binding and selected-field delivery. It does not explain whether a credential is returned directly, what an extension handle is, permission requirements, expiration behavior, or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with no filler, but it is cryptic rather than informative. It is front-loaded with the delivery choice, yet the extreme brevity leaves critical details unstated.

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 seven-parameter credential request with no annotations and no output schema, the description is far too thin. It omits required parameter meaning, behavioral implications, and return expectations, leaving an agent unable to invoke it safely.

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 coverage is 0% for seven parameters, so the description must compensate. It adds meaning for delivery, field_ids and target_origin via 'selected-field delivery' and 'origin-bound extension handle', but says nothing about credential_id, purpose, agent_id, or expires_in.

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 names a binary delivery choice but never states the tool's actual action (requesting a credential) or the resource in a clear verb+resource form. An agent must infer the purpose from the name alone; it is not meaningfully differentiated from siblings like request_credential_fields or request_credential_use.

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?

No when-to-use guidance or alternatives are named; the sentence only presents an internal mode choice. It does not say when direct delivery is preferred over extension, nor when this tool should be used instead of sibling credential tools.

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