Skip to main content
Glama

GetApiTraceLog

Read-onlyIdempotent

Read paginated API trace log entries from an x64dbg session using trace_id, offset, limit, and optional module!func filtering.

Instructions

Read API trace log with pagination.

Args: trace_id: Session id from StartApiTrace. offset: Start index (0-based). limit: Max calls to return (default 100, max 5000). func_filter: Optional case-insensitive substring for "module!func".

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
trace_idYes
after_seqNo
func_filterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.9

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint false, and openWorldHint, so the safety profile is covered. The description adds useful behavioral context beyond annotations: pagination, a default and maximum limit, and case-insensitive substring filtering. It still does not describe ordering or return structure, but those gaps are minor given the annotations.

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 the purpose sentence, then uses a compact Args block for parameter details. Every sentence is useful and there is no filler.

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?

For a 5-parameter tool with no output schema, the description provides the prerequisite trace_id source and documents most parameters. The missing after_seq parameter is a real gap, and ordering/return behavior is not described, so an agent lacks some context needed to use pagination fully correctly.

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 0%, so the description carries the burden of documenting parameters. It explains trace_id, offset as 0-based, limit default and max, and func_filter semantics, which is strong compensation. However, the after_seq parameter is completely undocumented in both schema and description.

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?

States a specific verb and resource: 'Read API trace log with pagination.' It is distinguishable from siblings such as StartApiTrace, RunApiTrace, and StopApiTrace because it retrieves an existing trace log rather than managing a trace session. It does not explicitly name or contrast with those siblings, so it falls short of 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 description implies usage through 'trace_id: Session id from StartApiTrace,' giving the prerequisite session context. However, it does not explicitly say when to use this tool versus alternatives like StartApiTrace or RunApiTrace, and there are no when-not guidelines.

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