Skip to main content
Glama

request_key

Ask the owner for a key (API key, token, client secret) runnerID does not have yet, or a new value for one it has (replace: true). The owner gets a secure one-time link by email and pastes it there; the value goes straight into the vault and never passes through you or your chat. Never ask the owner to paste a key into chat. Returns request_id. Then call wait_for_key; once fulfilled, use the key by name (get_key, send_key_to_render).

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe name the key is saved under, 1 to 120 characters, such as TELNYX_API_KEY. Use it later to name the key.
noteNoOptional words for the owner, shown on the page and in the email, such as where to find the key. Never a secret.
siteNoOptional host the key belongs to, shown to the owner.
replaceNoAsk for a new value for a key already saved under that name.
identity_idNoIdentity to use. Omit when the account has exactly one identity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so: it explains the out-of-band email one-time link, that the secret lands directly in the vault, that it never transits the agent or chat, and that the call is asynchronous and only returns a request_id. That is exactly the behavioral context an agent needs before invoking a credential-request tool.

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

Conciseness5/5

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

Four dense sentences, front-loaded with the action and its two modes, then the mechanism, then the return value and next step. The security prohibition is stated once, prominently, and nothing is repeated.

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

Completeness5/5

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

No output schema exists, and the description supplies the return value (request_id) plus the mandatory follow-up call, so the agent knows both what comes back and what to do next. For a single-purpose, one-required-parameter request tool, nothing material is missing.

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?

Schema coverage is 100%, so the schema already documents all five parameters and the baseline is 3. The description adds workflow-level meaning beyond the schema by tying replace: true to the 'new value for an existing key' case and by explaining that name is the handle later used with get_key and send_key_to_render.

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?

The description opens with a specific verb and resource ('Ask the owner for a key') and immediately scopes the resource with examples ('API key, token, client secret'), then splits the two modes: a key not yet held vs. a new value for one it has (replace: true). An agent can distinguish this from get_key or save_key without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states when to use it, gives an explicit prohibition ('Never ask the owner to paste a key into chat'), and routes the agent through the full sequence: request_key, then wait_for_key, then get_key or send_key_to_render. Both the trigger condition and the downstream alternatives are named.

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