Skip to main content
Glama
decision-anchor

decision-anchor-mcp

Official

get_decision

Retrieve a decision record by ID to see its declaration, timestamp, scope, and lineage. Get the formal shape (enums, timestamps, hash) without content.

Instructions

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_tokenYesYour DA agent auth token
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It reveals a critical trait: 'never its content', indicating the tool excludes substantive content and only returns formal metadata (enums, timestamps, hash). It also mentions lineage and scope, which adds context beyond the schema. However, it does not discuss error behavior or permission requirements beyond the auth_token parameter.

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?

The description is two sentences, front-loaded with the verb and resource. It avoids redundant phrasing, precisely states the return scope, and includes a critical negative constraint ('never its content') without unnecessary words. Every sentence contributes value.

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?

Given the tool's simplicity (2 params, no output schema), the description sufficiently explains what is returned: declared fields, scope, lineage, and formal shape. Without an output schema, it provides a clear high-level view of the return structure. It could mention error cases (e.g., not found) but this is not critical for basic usage.

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?

The schema already provides 100% coverage for the two parameters (dd_id and auth_token), each with a clear description. The tool description adds no new meaning about parameter usage or syntax; it only implies dd_id via 'by its ID'. Since schema coverage is high, the description's lack of additional parameter detail is acceptable, and the baseline 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?

The description clearly states the tool retrieves a specific decision record by its ID, with an explicit verb ('Retrieve') and resource ('decision record'). It further specifies what is returned (declared info, scope, lineage) and distinguishes itself by emphasizing it returns only the formal shape, never content, which separates it from siblings like get_decision_metadata_distribution or list_decisions.

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

Usage Guidelines4/5

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

The context is clear: use this when you need a single decision's formal structure by ID. The 'never its content' clause implies a limitation but does not explicitly name alternative tools (e.g., 'use get_decision_metadata_distribution for aggregates'). Thus it provides clear context without explicit exclusions or alternatives.

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/decision-anchor/mcp-server'

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