Skip to main content
Glama

PDFCheck Online

get_error_stats

Get summary statistics about production errors: total unresolved, errors by status code, most frequent exceptions. Requires admin authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries full disclosure burden. It does add one genuinely useful behavioral trait — 'Requires admin authentication' — and its read-only nature is implicit in the verb 'Get'. However, it omits return format, pagination, rate limits, or scope (e.g. time window) details that would matter operationally.

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 tight sentences, front-loaded with the core capability followed by the authentication prerequisite. Every clause earns its place and nothing is redundant.

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 zero-parameter, no-output-schema read tool, the description covers what it returns and the auth requirement, which is enough to invoke it correctly. The main residual gap is the absence of any scope/timing detail (window covered by 'statistics') and lack of guidance relative to its error-related siblings.

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 tool takes zero parameters, so there is no parameter semantics to document; the baseline of 4 applies. The description correctly does not invent or reference nonexistent inputs.

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?

The description gives a specific verb ('Get'), resource ('production errors'), and enumerates the exact statistics returned (total unresolved, by status code, most frequent exceptions). This clearly separates it from siblings like get_errors (a list) and get_error_detail (single record), though it never names those siblings explicitly.

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?

Usage is only implied: 'summary statistics' suggests a good first-look/overview call before drilling into get_errors or get_error_detail, but the description never states when to prefer it over those alternatives or any exclusions. No explicit routing guidance is provided.

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.

Resources