Skip to main content
Glama

resolve_secret

Idempotent

Resolve a named secret to its decrypted value for execution-time use, returning it only in the response so it never enters the event log. Unknown names return a null-name error.

Instructions

Resolve a named secret to its value (the 'fetch at exec' path). The value is decrypted server-side and returned only in this response — it never enters the event log. Returns null-name error if the secret is unknown.

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

Input Schema

NameRequiredDescriptionDefault
nameYesthe secret name (the part after secret://)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses meaningful behavior: decryption happens server-side, the plaintext exists only in this response, and it never enters the event log. That is real context an agent could not derive from readOnlyHint=false / destructiveHint=false / idempotentHint=true. It stops short of stating audit implications of calling it repeatedly or any permission requirements.

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?

Two sentences, no filler; the core action and the exec-path qualifier are front-loaded, followed by the behavioral guarantees and error condition.

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?

With no output schema, the description carries responsibility for return values and does so: the decrypted value is returned in the response and an unknown secret yields an error. It leaves the exact error shape (exception vs. null payload) ambiguous — the phrase "null-name error" is unclear — which keeps it from a 5.

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?

With schema description coverage at 100% and a single required parameter already documented as "the part after secret://", the schema does the heavy lifting. The description only restates that the secret is "named" and adds no extra format or naming-convention detail, so the baseline 3 applies.

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 ("Resolve a named secret to its value") and adds a disambiguating parenthetical ("the 'fetch at exec' path") that separates it from the sibling secret-management tools like create_secret or delete_secret. An agent can tell what it does without opening the schema.

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

Usage Guidelines3/5

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

The phrase "fetch at exec path" implies the intended usage moment, but there is no explicit when-to-use/when-not-to-use guidance and no named alternative for related operations. Usage is inferable rather than stated.

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

Deploy Server

Other Tools