Skip to main content
Glama

get_profile_stats

Retrieve current profiling statistics from Xdebug to analyze PHP application performance and identify optimization opportunities.

Instructions

Get current profiling statistics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states this is a 'get' operation, implying read-only behavior, but doesn't disclose any behavioral traits such as whether it requires an active profiling session, what format the statistics are returned in, or if there are any rate limits. This leaves significant gaps for a tool that likely interacts with profiling state.

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, efficient sentence with no wasted words. It's front-loaded with the core purpose ('Get current profiling statistics'), making it easy to parse. Every word earns its place by conveying essential information without redundancy.

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?

Given the complexity implied by profiling tools and the lack of annotations and output schema, the description is incomplete. It doesn't explain what 'profiling statistics' entail, how they relate to other tools like 'start_profiling', or what the return format is. For a tool in a debugging/profiling context with many siblings, this minimal description leaves too much unspecified.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, so there are no parameters to document. The description doesn't need to add parameter semantics, and it correctly doesn't mention any. A baseline of 4 is appropriate as it avoids misleading parameter information.

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

Purpose3/5

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

The description 'Get current profiling statistics' clearly states the action (get) and resource (profiling statistics), but it's vague about what specific statistics are retrieved and doesn't differentiate from sibling tools like 'get_coverage_report' or 'get_function_history' which also retrieve profiling-related data. It's better than a tautology but lacks specificity.

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?

The description provides no guidance on when to use this tool versus alternatives. With siblings like 'get_coverage_report' and 'get_function_history' that might overlap in profiling contexts, there's no indication of when this tool is appropriate or what distinguishes it from other data-retrieval tools in the set.

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/kpanuragh/xdebug-mcp'

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