Skip to main content
Glama

Export decisions

export_decisions
Read-only

Exports decision-log pages oldest first for evaluations, returning decision items and split disfluency eval cases with cursor pagination until all pages are retrieved.

Instructions

A page of your decision log in export form, oldest first, for evals. Returns { items (one decision each, the same objects reelsaw decisions export writes as JSON lines), cases: { disfluency: [eval cases in eval/fixtures/disfluency/cases.json shape, split dev/heldout by project] }, nextCursor }. Pass nextCursor back until it is null.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_decisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoOnly this kind of decision
limitNoPage size (1-1000, default 200)
sinceNoOnly decisions made at or after this ISO time
cursorNonextCursor from the previous page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.28.1

TDQS

A4.2/5.0
Behavior5/5

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

ReadOnlyHint already covers safety, but the description adds substantial behavioral context: pagination order, return shape, item contents, eval case structure, and cursor termination. This is especially valuable because there is no output schema.

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 front-loaded with purpose and then precisely describes the return shape and pagination. It is dense but every clause carries useful information, 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?

For a read-only paginated export tool with no output schema, the description is complete enough to call correctly: it covers the return object, item semantics, cursor iteration, ordering, and eval case output.

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 coverage is 100%, so the schema already defines kind, limit, since, and cursor. The description adds meaningful usage detail for cursor pagination by explaining to pass nextCursor back until it is null, though it does not elaborate on the other parameters beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the resource (decision log), export form, ordering (oldest first), and purpose (for evals), so the purpose is clear. It does not explicitly distinguish itself from siblings like list_decisions or export_project, which keeps it from a 5.

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 phrase 'for evals' gives an implied usage context, and the pagination instruction tells the agent how to use the result. However, there is no explicit when-to-use guidance versus list_decisions or when not to use this export variant.

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

Deploy Server

Other Tools