Skip to main content
Glama
phunkaeg

apitrace-mcp

by phunkaeg

trace_stop

Destructive

Stop an active capture session and retrieve the trace. Quit the game normally first to preserve the full trace; a forced kill prevents apitrace from flushing the final data.

Instructions

Stop a session and report the resulting trace.

Prefer quitting the game in-game first: a forced kill can lose the tail of the trace because apitrace never gets to flush.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNo
sessionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already signal destructive behavior, so the description adds value beyond them by explaining the specific consequence: a forced kill prevents apitrace from flushing, losing the tail of the trace. This is useful behavioral context not present in 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?

Two sentences with no filler. The core action is front-loaded, and the important caveat about forced kills is presented immediately after. Every sentence earns its place.

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 simple two-parameter stopping tool, the description is largely complete: it states what the tool does, what input matters, and a critical failure mode. The output schema covers return behavior. It does not explain how to discover session IDs, but that is inferable from sibling tools like list_sessions.

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 0%, so the description must carry the parameter-semantics burden. It implicitly references the force parameter through 'forced kill' and identifies 'session' as the target, but it never explicitly explains either parameter's expected format or how to obtain a valid session value.

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 begins with a specific verb and resource: 'Stop a session and report the resulting trace.' This clearly defines what the tool does and distinguishes it from sibling tools like trace_status, trace_launch, and list_sessions.

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 gives clear operational guidance: prefer quitting the game in-game first, and warns that a forced kill can lose the trace tail. It does not explicitly name alternative tools, but the when-to-do-it guidance is concrete and actionable.

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