Skip to main content
Glama
dockergiant

RollDev MCP Server

by dockergiant

rolldev_inspector_traces

Lists recent PHP traces with per-category cost breakdown, optionally filtered by route, slowness, or recency, without modifying the environment.

Instructions

List recent PHP traces (one line each, with the cost split per category). Read-only: never changes the environment.

Input Schema

NameRequiredDescriptionDefault
sortNoslowest (default) or recent
limitNoMaximum number of traces (default 20)
routeNoOnly this route, e.g. catalog/category/view
min_msNoOnly traces slower than this many milliseconds
project_pathYesPath to the project directory (holds .env.roll)
save_output_to_fileNoSave the full output to a log file and return a preview (optional, default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description does carry the key safety signal itself: "Read-only: never changes the environment." It also discloses the output shape (one line per trace, cost split by category). It says nothing about ordering defaults, volume expectations, or whether traces are sampled, so it is adequate but not rich.

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 short sentences with zero padding, leading with the action and the result format and closing with the safety constraint. Every clause earns its place.

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 filterable list tool with no output schema and no annotations, the description covers the read-only guarantee and the rough return shape, which is the minimum needed. It still leaves gaps on result ordering behavior beyond the sort parameter and what a truncated preview looks like when save_output_to_file is set.

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 100%, so every parameter including sort, min_ms, route, and save_output_to_file is already documented in the schema. The description adds no parameter-level meaning beyond what the schema provides, so the baseline 3 applies.

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 ("List recent PHP traces") plus the shape of each result (one line with per-category cost split). It does not explicitly distinguish itself from the sibling rolldev_inspector_trace (singular), so an agent must infer that this is the list view versus the detail view.

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?

"List recent PHP traces" implies a discovery/overview use case, and the sibling names hint at a trace-detail alternative. However, the description never says when to pick this over rolldev_inspector_trace, inspector_hotspots, or inspector_request, and offers no exclusions or prerequisites.

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