Skip to main content
Glama

phpray

phpray_components

Time attributed to each plugin, theme or vendor package on profiled requests. Answers "which plugin is slowing the site down". Empty when function profiling is off.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many components to return. Default 20.
site_idYesSite id from phpray_sites.
window_minutesNoHow far back to look. Default 1440.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 carries the full burden of behavioral disclosure. It does add a genuine behavioral note — results are empty when function profiling is off — which is useful. However, it omits the return shape, aggregation behavior, and any ordering guarantees, so coverage is partial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no filler, front-loaded with the core purpose and the diagnostic question it answers. The behavioral caveat earns its place at the end. Efficient without being under-specified.

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 list-retrieval tool with a complete parameter schema and no output schema, the description covers the core semantics and adds a valuable caveat about profiling being off. It could mention return format but is otherwise sufficient for correct invocation.

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 the schema already documents all three parameters (site_id, limit, window_minutes). The description adds no parameter-level meaning beyond the schema, matching the baseline for fully-documented schemas.

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?

States a specific resource (component time attribution) with a concrete verb and answers a direct diagnostic question ('which plugin is slowing the site down'). Clearly distinct from siblings like phpray_slow_pages and phpray_slow_queries, which target pages and queries respectively rather than plugin/theme/vendor attribution.

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?

Provides no guidance on when to choose this tool over its siblings. The description mentions a condition ('Empty when function profiling is off') but never names alternatives or exclusion criteria, leaving the agent to infer selection logic from context.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.