Skip to main content
Glama

get_key

Return one saved key value, for work that needs to hold it for a moment, such as setting an environment variable. Use it and do not store it. Works only when the owner allows agents to read keys back for this identity. Each read is logged as key.released. Logins and authenticator seeds are never returned.

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": "get_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
approval_idNo
identity_idNoIdentity to use. Omit when the account has exactly one identity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description must carry the behavioral burden, and it discloses a lot: an authorization gate tied to the identity, that every read is audited as 'key.released', and which secret classes are withheld entirely. It does not say what happens on denial or whether an approval flow can unlock a blocked read, so a meaningful gap remains around failure behavior.

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 tight sentences, front-loaded with the core action, then the handling rule, then the permission gate, then the exclusion. Every sentence carries distinct information and none restates the tool name.

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?

For a three-parameter read tool with no output schema, the definition covers purpose, safety handling, authorization, and audit trail, which is most of what an agent needs. The missing piece is the approval_id parameter, which is left completely unexplained despite governing whether a gated read can proceed.

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 only 33%: name and approval_id carry no descriptions, and only identity_id is documented. The description never explains what approval_id is for or what form the key name takes, so it fails to compensate for the coverage gap. The phrase 'for this identity' is the only parameter-adjacent meaning it adds.

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 first sentence gives a specific verb and resource (return one saved key value) plus the intended moment of use. The closing sentence draws a hard boundary against adjacent resources ('Logins and authenticator seeds are never returned'), which lets an agent separate this from get_authenticator_code, get_email_code, or fill_login without opening their schemas.

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?

It supplies a concrete use case ('setting an environment variable') and an explicit handling rule ('Use it and do not store it'), which is real when-to-use guidance. It also states a precondition (the owner must allow agent read-back). What it lacks is any pointer to alternatives, such as using list_keys to discover a name or request_approval when the read is denied.

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