provider_get_stats
Get detailed performance metrics for a provider over a date range: sessions, occupancy, no-show rate, revenue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | ||
| dateTo | No | ||
| orgSlug | Yes | ||
| dateFrom | No | ||
| providerId | Yes |
Get detailed performance metrics for a provider over a date range: sessions, occupancy, no-show rate, revenue.
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | ||
| dateTo | No | ||
| orgSlug | Yes | ||
| dateFrom | No | ||
| providerId | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description carries the full transparency burden. It only says 'Get detailed performance metrics,' without disclosing return format, aggregation logic, permission requirements, or possible side effects, leaving the agent uncertain about behavior.
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?
The description is a single, focused sentence that front-loads the action and lists key metrics without extraneous words.
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?
The tool has no output schema and no annotations, yet the description provides only a minimal overview. It omits parameter details, output structure, and any caveats, making it insufficient for an agent to invoke reliably.
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?
Schema descriptions are absent (0% coverage), so the description must explain parameters. It vaguely references 'provider' and 'date range' to map providerId and dateFrom/dateTo, but fails to clarify apiKey, optionality, date format, or pairing constraints.
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 clearly states the action (Get), the resource (performance metrics for a provider), and the scope (over a date range), listing specific metrics: sessions, occupancy, no-show rate, revenue. This distinguishes it from sibling tools that focus on individual metrics like report_no_shows or report_occupancy.
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?
The description implies a use case—retrieving aggregated provider metrics—but does not explicitly state when to use this tool over alternatives. Sibling specialized report tools exist, yet no exclusions or alternative guidance are provided.
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.