Skip to main content
Glama

decisions

Read-only

Retrieve the unified decision ledger showing committee verdicts, rule interventions, execution status with reasons, and outcome data. Track adoption rates, skipped recommendations, and safety rule rewrites.

Instructions

Get the unified decision ledger: every committee verdict joined with rule interventions, the user's actual executions or refusals (with reasons), and post-hoc outcome data — plus an adoption-rate summary.

Answers "how often did I follow the advice", "which recommendations did I skip", and "what did the safety rules rewrite". Read-only.

Args: days: Look-back window in days (default 90).

Returns: Object with count, summary (adoption rate and aggregates), and decisions (list; each entry has decision_id, verdict, confidence, intervention, executed flag, matched trades, and outcome).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoLook-back window in days.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already provide readOnlyHint=true, and the description adds value by declaring 'Read-only' and detailing the return shape (count, summary, decisions with fields). This goes beyond annotations without contradiction.

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 concise, uses a clear structure with a purpose statement, answering summary, and then explicit args/returns. Every sentence is informative with no filler.

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?

Given the simple input schema (1 optional param) and presence of an output schema (though not shown), the description fully covers what the tool returns and its purpose, making it complete for selection and invocation.

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 the description repeats the parameter info ('Look-back window in days (default 90)') which is already in the schema. No extra meaning is added, so baseline 3 is appropriate.

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 uses a specific verb ('Get') and resource ('unified decision ledger'), and clearly distinguishes from siblings like 'explain_decision' by framing it as a ledger of all decisions with adoption summaries.

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 description states what questions the tool answers ('how often did I follow the advice', etc.), providing clear context for its use. However, it does not explicitly state when not to use it or mention alternatives like 'explain_decision'.

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/longsizhuo/openInvest'

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