Skip to main content
Glama

describe_policy

Retrieve policy details for a specified secret ID to review access permissions, rate limits, and audit rules before approved HTTP requests.

Instructions

Get policy details for a secret

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

Input Schema

NameRequiredDescriptionDefault
secretIdYesThe ID of the secret to describe policy for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It does not confirm the operation is read-only, state what the policy response contains, mention authorization requirements, or indicate behavior when the secret has no policy set.

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

Conciseness4/5

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

A single short sentence with zero padding and the resource front-loaded. It is efficient, though its brevity is close to under-specification rather than deliberate economy.

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

Completeness3/5

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

For a one-parameter read tool with full schema coverage and no output schema, the definition is minimally adequate. It still leaves the agent guessing about read-only safety, return shape, and error behavior on unknown secret IDs.

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 description coverage is 100% and the single secretId parameter is fully documented in the schema, so the baseline of 3 applies. The description adds no format hints (e.g., whether the ID is a path, UUID, or name) beyond what the schema already says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a concrete verb ("Get") plus the resource ("policy details") scoped to a secret, so the agent can distinguish it from use_secret, which presumably consumes a secret rather than reading its policy. It stops short of explicitly contrasting itself with any sibling, and "policy" is left unqualified (access policy vs. rotation policy).

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

Usage Guidelines2/5

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

There is no statement of when to call this versus discover_secrets, query_audit, or use_secret, and no prerequisites such as required permissions on the secret. The agent must infer usage entirely from the name.

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