Skip to main content
Glama

get_execution_diagnostics

Read-onlyIdempotent

Get a full diagnostic trace of an AI execution: chronological LLM and tool calls with token counts, latency, model used, and finish reason. Diagnose issues by providing the execution ID.

Instructions

Retorna trace de diagnóstico completo de uma execução: timeline cronológica de LLM calls e tool calls, com tokens, latência, modelo usado e finish_reason. Use o execution_id (campo id do agent_executions) ou root_execution_id retornado pelo chat_with_agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
execution_idYesUUID da execução (id do agent_executions ou root_execution_id)
Install Server

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds useful detail about the output contents, though it does not disclose any additional behavioral caveats such as pagination, limits, or failure modes. This is adequate given the annotation coverage.

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 a single well-structured sentence that front-loads the tool's purpose and enumerates the returned diagnostic fields. There is no filler or duplication of schema information.

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?

For a read-only, single-parameter tool with no output schema, the description adequately explains both the input provenance and the output structure. It is sufficiently complete for an agent to select and call the tool correctly, though it could briefly note the relationship to get_execution_trace.

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 description coverage is 100%, so the schema already documents that execution_id is a UUID. The description adds valuable semantic context beyond the schema by clarifying that execution_id can be either the agent_executions id or the root_execution_id returned by chat_with_agent, which helps the agent select the correct value.

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 clearly identifies the tool's function: returning a complete diagnostic trace of an execution, including a chronological timeline of LLM and tool calls with tokens, latency, model, and finish_reason. It is specific and action-oriented, but it does not explicitly distinguish this tool from the similarly named sibling get_execution_trace.

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 clear context on what input to supply and where that input can be sourced: the execution_id field from agent_executions or the root_execution_id returned by chat_with_agent. It does not mention when to prefer this tool over alternatives like get_execution_trace, but the selection context is otherwise unambiguous.

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

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/zihin-ai/zihin-mcp'

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