Skip to main content
Glama

decision.list

Read-only

List decisions recorded in a session as a JSON array (id, decision, reason, agent, created_at); read-only, defaults to the current session. Check prior decisions before recording a new one.

Instructions

List the decisions recorded in a session as a JSON array (id, decision, reason, agent, created_at). Read-only. Defaults to the current session. Use it to check what was already decided before deciding again; decision.create records a new one.

Input Schema

NameRequiredDescriptionDefault
session_idNoSession ID; omit for the current session

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.9
    • changedInput schema / properties / session_id / description
      Previous value: -"Session ID"New value: +"Session ID; omit for the current session"
  2. First observedv0.1.8

TDQS

A4.4/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes safety, so the description's 'Read-only' repeat adds little; however, it goes beyond the annotation by disclosing the default session scoping and the shape of the returned record. It stops short of describing ordering, volume, or empty-result behavior.

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 compact sentences with the primary purpose and return shape front-loaded, followed by usage and the alternative. Dense but every clause carries information; 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?

There is no output schema, but the description compensates by listing the returned fields, and the single optional parameter is fully documented in the schema. An agent has everything needed to call it correctly.

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 single parameter's description already states 'omit for the current session,' so the description's mention of the current-session default duplicates the schema rather than extending it. Baseline 3 applies when the schema carries the meaning.

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 and resource ('List the decisions recorded in a session') and even enumerates the returned fields, so the agent knows exactly what comes back. It is clearly distinguishable from the write sibling decision.create.

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

Usage Guidelines5/5

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

Gives an explicit use case ('check what was already decided before deciding again') and names the alternative tool with its contrasting behavior ('decision.create records a new one'). Nothing about when to pick this over the sibling is left to inference.

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