get_stats
Get the number of published immigration legal providers, places and categories, and when the data last changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Get the number of published immigration legal providers, places and categories, and when the data last changed.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds the useful scoping detail that counts cover only 'published' providers and that the response includes a last-changed timestamp, but nothing about refresh/auth behavior or response shape. Value added is modest against the annotation baseline.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler; the counted resources and the recency field are stated in one pass with nothing redundant.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description must carry the return-value burden, and it does name the four things returned (provider, place, and category counts, plus last-changed). It stops short of describing the response structure or whether counts are global, which is a minor gap for a zero-parameter stats call.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 4 applies. The description appropriately confines itself to describing the returned aggregates instead of inventing parameter detail.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Get the number of') and enumerates the exact resources counted: published immigration legal providers, places, and categories, plus a freshness signal. This clearly separates it from siblings like list_places or list_categories, which return records rather than aggregate counts, though the distinction is implied rather than stated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: an agent can infer this is an overview/count tool to call before drilling into listings, but the description never says when to prefer it over get_listing or search_listings, nor when not to use it. No alternatives or prerequisites are named.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.