Skip to main content
Glama

list_decisions

Read-onlyIdempotent

List decisions from the knowledge base with filters (date, file, session, tags, protected). Retrieve compact summaries or full records to review what was remembered across sessions.

Instructions

v2.1.2 Item 11: enumerate decisions with filters (since_date, file_pattern, protected_only, session_id, tags). Closes the gap that 'codevira can remember things across sessions, but can't list what it remembers.' Default (E1): compact rows — one-line decision summary + key fields; full=true (or CODEVIRA_DECISION_DETAIL=full) for untruncated records, expand(ids=[...]) to fetch specific decisions in full.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNoUntruncated decision text
tagsNoFilter to rows matching ALL these tags (v2.1.2 Item 27)
limitNoMax rows (default 20, max 200)
session_idNoFilter to one session
since_dateNoISO 8601 timestamp or YYYY-MM-DD
file_patternNoSQL LIKE pattern on file_path
summary_onlyNoSmallest payload — only {id, summary, do_not_revert} per row (parity with search_decisions). Takes precedence over full.
protected_onlyNoOnly do_not_revert=true rows
include_supersededNoInclude soft-deleted rows (v2.1.2 Item 26)
Behavior4/5

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

Annotations indicate read-only and idempotent behavior. The description adds significant behavioral detail: default compact rows, full mode, summary_only precedence, expand function, and filters (protected_only, include_superseded). This exceeds the minimal disclosure 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense with version numbers and internal references (v2.1.2 Item 11, 26, 27) that may clutter for an agent. It contains a verbatim quote and acronym (E1). While informative, it could be more streamlined for quick parsing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description partially compensates by describing compact vs full rows and expand. However, it lacks explicit output field listing beyond 'one-line decision summary + key fields'. The mention of parity with search_decisions aids context, but return structure could be clearer.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers all 9 parameters with descriptions. The description adds context: default limit (20, max 200), expand mechanism, interaction between full and summary_only, and version-specific filter tags. This adds meaning beyond raw schema, though some parameter behavior (e.g., since_date format) is already in schema.

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's purpose: 'enumerate decisions with filters'. It lists specific filter parameters and explains the gap it closes ('can't list what it remembers'). The inclusion of default vs full modes and the expand function further clarifies its role.

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 does not explicitly guide when to use this tool versus alternatives like search_decisions. It mentions 'parity with search_decisions' for summary_only, but does not provide direct comparison or exclusion criteria. The default behavior is described, but usage context is implied rather than stated.

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/sachinshelke/codevira'

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