Skip to main content
Glama
link0-o

PerfLens MCP Server

by link0-o

verify_trace_analysis

Read-onlyIdempotent

Replay stored scheduling, off-CPU, and lock analyses to verify their integrity before agent interpretation.

Instructions

Replay and verify a stored sched/off-CPU/lock analysis before Agent interpretation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
analysis_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
clockYes
checksYes
limitsYes
sourceYes
statusYes
targetYes
qualityYes
warningsNo
conversionYes
analysis_idYes
input_bytesYes
input_sha256Yes
content_sha256Yes
schema_versionNo1.0
verification_idYes
perflens_versionYes
verifier_versionNotrace-verifier-v1
observation_windowYes
allowed_conclusionsYes
verification_statusYes
forbidden_conclusionsYes
analysis_artifact_typeYes
analysis_content_bytesYes
analysis_content_sha256Yes
verification_fingerprintYes
agent_visible_content_sha256Yes
Behavior4/5

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

Annotations already indicate readOnly, idempotent, and non-destructive behavior. The description adds value by clarifying that the tool 'replays' and 'verifies' a previously stored analysis, and that it is part of the pre-interpretation workflow. This is behaviorally relevant but not exhaustive; for example, it does not describe failure behavior.

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 a single clear sentence with no filler. The most important behavioral verb and resource are positioned prominently, making it easy to parse quickly.

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?

With only one required parameter and a provided output schema, this is a relatively simple tool. The description covers the core procedure, including when it belongs in the workflow. It leaves minor unrecolved detail about how analysis_id is sourced or verified, but overall is adequate for a low-comp const tool.

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 must carry the semantic load for analysis_id. It only alludes to the analysis by the phrase 'stored sched/off-CPU/lock analysis', but it does not explain the ID's origin, format, or how to obtain one. This is minimal compensation for an undocumented parameter.

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 uses a specific verb ('Replay and verify') and a clear resource ('a stored sched/off-CPU/lock analysis'), and it adds a purpose ('before Agent interpretation'). This clearly differentiates it from generic siblings like verify_analysis and analysis-focused tools such as analyze_trace_evidence.

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 phrase 'before Agent interpretation' gives a clear contextual trigger for when to use this tool. It does not, however, explicitly name alternatives or provide when-not-to-use guidance, so it falls short of a fully explicit usage contract.

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/link0-o/PerfLens'

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