Skip to main content
Glama
phunkaeg

apitrace-mcp

by phunkaeg

call_histogram

Read-onlyIdempotent

Identify which functions a game calls most frequently in a trace range, using a configurable limit to scan only a portion of large traces.

Instructions

Function-frequency profile over a call range -- the fastest way to see what a game does.

Scanning the whole of a large trace is slow; limit caps how many calls are read (default 200k).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNo
callsNo
limitNo
traceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive traits. The description adds that scanning a full large trace is slow and that `limit` caps how many calls are read (default 200k), which is useful behavioral/performance context. No contradiction with 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 two tight sentences: the first states the core purpose and value, the second gives the key performance caveat. Every sentence adds information and there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with four parameters and zero schema descriptions, the description is not complete: it omits the meaning of `top` and `calls`, and does not explain the required `trace` format. The presence of an output schema helps for return values, but the input semantics remain underspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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. It explains `limit`'s purpose and default but leaves `top`, `calls`, and `trace` undefined; only the phrase 'call range' hints at `trace`/`calls`. With one of four parameters meaningfully documented, this is partial compensation at best.

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?

Describes the output as a function-frequency profile over a call range and positions it as the fastest high-level view of a game's behavior. The verb is implicit rather than explicit ('Returns/Computes'), and it doesn't name sibling tools like get_calls or search_calls to distinguish them, but the histogram concept is specific enough to separate it from raw-call tools.

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 'fastest way to see what a game does' gives a clear context for when the histogram is appropriate (high-level overview), and the limit warning addresses performance tradeoffs. It does not explicitly state when not to use it or point to a sibling alternative for raw call data, so the guidance is implied rather than explicit.

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/phunkaeg/apitrace-mcp'

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