Skip to main content
Glama

Get Decision Record

get_decision

Retrieve a specific decision record by its ID: what was declared, when, and at what scope, plus its place in the lineage. Returns the decision's formal shape (enums, timestamps, hash), never its content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dd_idYesThe DD ID to retrieve
auth_tokenNoYour DA agent auth token. Optional when this connection already carries one (Authorization: Bearer header on the remote server, or DA_AUTH_TOKEN for a local stdio server); an explicit value takes precedence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / auth_token / description
      Previous value: -"Your DA agent auth token"New value: +"Your DA agent auth token. Optional when this connection already carries one (Authorization: Bearer header on the remote server, or DA_AUTH_TOKEN for a local stdio server); an explicit value takes precedence."
    • changedInput schema / required
      Previous value: -[
      -  "auth_token",
      -  "dd_id"
      -]New value: +[
      +  "dd_id"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Adds meaningful context beyond the annotations by disclosing the return's nature: 'the decision's formal shape (enums, timestamps, hash), never its content.' This tells the agent it will not get the actual decision payload, which is valuable since there is no output schema. Note the readOnlyHint=false annotation is not reconciled with the read-only framing of 'Retrieve'.

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 tight sentences, fully front-loaded: the retrieval action and returned shape lead, the lineage note trails. Every clause carries information and nothing is redundant.

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 usefully compensates by describing the returned 'formal shape (enums, timestamps, hash)' and explicitly stating it excludes content. Combined with the fully documented auth parameter, an agent has what it needs, though the readOnlyHint=false signal remains unexplained.

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%, so both parameters (dd_id, auth_token) are already documented in the schema, including the auth precedence rule. The description only restates 'by its ID' and adds no syntax or format detail beyond the schema baseline.

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?

States a specific verb (Retrieve) and resource (a specific decision record) and scopes what is returned: 'what was declared, when, and at what scope, plus its place in the lineage.' An agent can distinguish it from list_decisions and get_decision_metadata_distribution by the singular, ID-based retrieval, though no sibling is named explicitly.

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?

Usage is implied by 'by its ID' — you need a DD ID to call it — but there is no explicit when-to-use versus list_decisions or when-not guidance, and no stated preconditions beyond the required dd_id the schema already enforces.

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.