Skip to main content
Glama
nemanjavlahovic

InstrumentsMCP

analyze_trace

Export and analyze specific tables from .trace files. First get the table of contents, then drill into a table by XPath to obtain structured performance data.

Instructions

Export and analyze a specific table from an existing .trace file. Use after profile_raw to drill into specific data tables. First call with toc=true to see available tables, then call with xpath to get data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trace_pathYesPath to the .trace file
xpathNoXPath to export specific table (from TOC output)
tocNoSet to true to export the table of contents instead of a specific table
summarizeNoParse XML into a structured summary (default true). Set false for raw XML.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It explains the behavior of the toc and xpath parameters and the summarize option. It implies a read-only analytical operation without stating it explicitly, but the two-step process is well described.

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?

Three sentences: first states purpose, second gives context, third gives precise step-by-step. Every word earns its place; no fluff.

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?

Given 4 parameters, 100% schema coverage, and no output schema, the description adequately explains the workflow and parameter usage. It covers what the tool does and how to use it effectively.

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%—each parameter has a description. The description adds value beyond schema by linking parameters to the recommended workflow (e.g., 'set toc to true' and 'then call with xpath'). This provides semantic context for usage order.

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 it exports and analyzes a specific table from a .trace file. It uses a specific verb ('export and analyze') and resource ('specific table from .trace file'). The context of using after profile_raw distinguishes it from siblings like profile_raw itself.

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 explicit guidance: 'Use after profile_raw' and gives a step-by-step workflow ('First call with toc=true... then call with xpath'). It does not explicitly mention when not to use or alternatives, but the workflow is strong and context-aware.

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/nemanjavlahovic/instruments-mcp-server'

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