Skip to main content
Glama

analyze

Read-only

Analyze recent debug log and session store data to generate advisory tuning suggestions for model selection, reasoning effort, and fanout based on latency, tokens, and agreement metrics.

Instructions

Analyze recent runs from the opt-in debug log (latency/tokens/reasoning-effort per model) plus the session store (verdict agreement rate), and return advisory tuning suggestions (disable a slow/redundant model in ask-all, lower an OpenRouter model's reasoning, adjust maxFanout). Two lenses reported side by side - timing and agreement are NOT joined (no shared run id). Suggestions are advisory; it writes nothing. Requires debug.enabled for the timing lens. Read-only. The /deliberation:analyze slash command renders this for humans.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionsNoHow many recent session records to read for the agreement lens (default 50).
limitBytesNoTail size of the debug log to read, in bytes (default 1048576).
Behavior4/5

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

The description adds behavioral context beyond the readOnlyHint annotation: it writes nothing (consistent), works on specific data sources, requires debug.enabled for one lens, and is advisory. This is valuable supplementary information.

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?

The description is detailed but reasonably concise, with the main action front-loaded. The mention of a slash command is slightly extraneous, but overall it is well-structured and informative without being verbose.

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?

Given no output schema, the description adequately explains what the tool returns (advisory tuning suggestions with specific examples) and clarifies the output's advisory nature. It covers the two lenses and their lack of join, plus a requirement. This is complete enough for agent understanding.

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 description coverage is 100%, so the schema already provides clear parameter descriptions (sessions count, limitBytes). The tool description adds general context about the data sources but does not add new semantics beyond the 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 explicitly states what the tool does: analyze recent runs from the debug log and session store, then return advisory tuning suggestions. It specifies two lenses (timing and agreement), notes they are not joined, and mentions it is read-only. This clearly distinguishes it from siblings like 'architect' or 'debugger'.

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 provides usage context: it is for obtaining advisory tuning suggestions. It notes the requirement 'debug.enabled' for the timing lens and that it writes nothing. However, it does not explicitly state when not to use it or compare to alternatives.

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/antonbabenko/deliberation'

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