Skip to main content
Glama

Get Stats

get_stats
Read-onlyIdempotent

Get the number of published heating contractors, places and categories, and when the data last changed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false, and destructiveHint=false, so safety is covered. The description adds meaningful behavioral context beyond that: counts are restricted to *published* records, and the payload includes a last-modified indicator useful for cache/freshness decisions. With no output schema, it also sketches what is returned, though it could specify whether the timestamp is global or per-entity type.

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?

A single sentence that front-loads the primary output (the counts) and appends the secondary output (last changed). No filler, no repetition of the title.

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 no-parameter, read-only aggregate tool with strong annotations, the description covers what is counted and that freshness metadata is included. The only remaining gap is precision on the 'published' qualifier across all three entity types and the scope of the last-changed value.

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 nothing for the description to disambiguate; baseline of 4 applies. Schema coverage is 100% and additionalProperties is false, so no hidden inputs exist.

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 names the resource (counts of published heating contractors, places, and categories) and the secondary output (last-changed timestamp), so an agent knows this is an aggregate statistics read rather than an entity fetch like the sibling get_* or list_* tools. It stops short of explicitly contrasting itself with those siblings, but the aggregate nature is unambiguous.

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: an agent can infer it should call this for summary counts or freshness checks. There is no explicit when-to-use statement, no mention that no filtering/parameters exist, and no guidance on alternatives for per-entity data.

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