Skip to main content
Glama

Export a decision record

export_decision
Read-onlyIdempotent

Export a decision as a reviewable record with scores, rationales, ranking, and sensitivity analysis. Produce an ADR-style markdown or machine-readable JSON file from a decision ID.

Instructions

Export the decision as a reviewable record: question, weights, the full score table, every rationale, ranking, weight and score sensitivity, Monte Carlo result and recommendation. The text is in the "content" field.

Input Schema

NameRequiredDescriptionDefault
formatNo'markdown' (an ADR-style record) or 'json' (machine-readable).markdown
decision_idYesId returned by start_decision, e.g. 'dec-a3f2'.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds real behavioral value by enumerating what the export contains (weight/score sensitivity, Monte Carlo, recommendation) and where the text lives ('content' field), which is not derivable from annotations.

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?

Two sentences, front-loaded with the action and the record contents. The enumeration is long but every item conveys what the export produces; the trailing note about the 'content' field is well placed.

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?

An output schema exists, so return values need not be re-explained, and the description correctly focuses on what the record contains. A small gap remains: no guidance on when to prefer markdown vs json or on the source of decision_id beyond the schema's note.

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 coverage is 100% and both parameters are documented in the schema, including the format enum and the decision_id source. The description adds no parameter-level detail beyond the schema, so baseline 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?

States a specific verb ('Export') and resource (the decision) and enumerates the record's contents. It is clearly distinguishable from siblings like get_matrix or analyze, which retrieve sub-parts rather than a full reviewable record.

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?

The description implies usage ('as a reviewable record' with ADR-style output), but never states when to choose export_decision over list_decisions, get_matrix, or analyze. No explicit when/when-not guidance is given.

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