Skip to main content
Glama

secrets_get_secret

Retrieve metadata of a secret by ID, including name, tags, and version count, without exposing the secret value.

Instructions

Get metadata of a single secret by ID.

This returns metadata only (name, tags, version count, ...), never the stored secret value. Use access_secret_version to read a value.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
regionNoRegion to target. Defaults to the configured region.
secret_idYesThe secret ID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations provided, so description must handle transparency. It correctly states that only metadata is returned, not the value, implying a safe read operation. Could mention any required permissions or rate limits, but adequate for a simple get.

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 with no wasted words: first states purpose, second clarifies limitation and alternative. Efficient and well-structured.

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?

For a simple get tool with an output schema (implied), the description adequately covers the distinction between metadata and value. No additional context is needed for correct use.

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?

Schema covers 100% of parameters (2), each with descriptions. The tool description adds no new semantic information beyond what the schema already provides, so baseline score of 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?

Description clearly states verb 'get', resource 'metadata of a single secret', and method 'by ID'. It distinguishes from sibling tools like secrets_access_secret_version and secrets_list_secrets.

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?

Explicitly notes that this returns metadata only, never the value, and directs to use access_secret_version for values. Provides clear when-to-use and when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sndpl/scaleway-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server