Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Get Secret (Passwords Masked)

get_secret
Read-only

Retrieve a secret's fields with password values masked, or fetch summary metadata to inspect access and approval requirements without exposing credentials.

Instructions

Retrieve a secret's fields, with password-type values masked.

Values of fields that the secret template marks as passwords are replaced with ******** and listed under maskedFields. Use summary=True for metadata only (name, folder, template, approval and checkout requirements). To put a credential to work without exposing it, use get_secret_environment_variable. Showing a masked value needs reveal_secret_field, which is only available when the server has plaintext reveal enabled.

Parameters

id: Numeric secret identifier. summary: When True return only the summary information.

Returns

dict JSON representation of the secret on success or an error key.

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

Input Schema

NameRequiredDescriptionDefault
idYes
summaryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only supply readOnlyHint=true, so the description carries the rest and does so well: it names the masking behavior, the maskedFields key in the result, and the server-level capability gate on revealing plaintext. That is exactly the context an agent needs to avoid assuming it will get usable credentials back.

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?

Front-loaded with the key constraint (masking) in the first sentence, then alternatives, then a compact Parameters/Returns block. The second sentence restates the masking rule with slightly more detail, but that detail (the `********` substitution and maskedFields key) earns its place.

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 compensates by describing the return shape (JSON dict or an `error` key) and the maskedFields convention. Combined with the reveal prerequisite and the summary option, an agent has everything needed to call it and interpret the result.

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 0%, so the description must document both parameters and it does: id as a numeric secret identifier and summary as a metadata-only switch, with an enumeration of what metadata is included. The id entry is still thin about identifier provenance (secret ID vs. other ID types used by sibling tools), which keeps it short of a 5.

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?

Opens with a specific verb and resource ("Retrieve a secret's fields") plus a defining scope qualifier ("with password-type values masked") that separates it from search_secrets and the reveal/environment-variable siblings. An agent can identify the exact operation 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 Guidelines5/5

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

Gives explicit alternatives with the conditions that select them: summary=True for metadata only, get_secret_environment_variable to use a credential without exposing it, and reveal_secret_field when a masked value must actually be shown. It also states the prerequisite that reveal is only available when the server has plaintext reveal enabled.

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