Skip to main content
Glama
link0-o

PerfLens MCP Server

by link0-o

classify_hotspots

Read-onlyIdempotent

Categorize performance hotspots by applying generic candidate-only rules to an analysis, returning a bounded, paginated classification page.

Instructions

Apply generic candidate-only rules and return a bounded classification page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
cursorNo
analysis_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
analysis_idYes
next_cursorNo
total_itemsYes
schema_versionNo1.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds 'candidate-only' scope and 'bounded' pagination behavior, which is useful but not extensive. 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 a single, front-loaded sentence with no filler. It is easy to parse and wastes no words, even though the content is vague.

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?

Despite the output schema and annotations, the description omits essential context: what analysis_id refers to, what 'candidate-only rules' mean, and how this tool relates to list_hotspots. The tool is not adequately specified for an agent to invoke it confidently.

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 compensate, but it does not explain analysis_id, limit, or cursor. 'Bounded page' hints at pagination but is far too indirect to clarify parameter usage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the vague phrase 'Apply generic candidate-only rules' but never explicitly states that it classifies hotspots or what a classification page contains. It does not distinguish the tool from sibling tools like list_hotspots or get_hotspot_details.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given about when to use this tool versus alternatives. 'Generic candidate-only rules' hints at a scope but does not explain use cases, exclusions, or prerequisites.

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