Skip to main content
Glama

get_tenant_health

Read-onlyIdempotent

Retrieve tenant-level infrastructure errors not tied to a specific agent, grouped by canonical error code. Use it to diagnose provider authentication and rate limit issues.

Instructions

Tenant-level infra errors not attributable to a specific agent (provider auth, rate limit), grouped by canonical error code

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_tenant_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNoEnd of the time window in ISO 8601 format; omit for no end filter
start_dateNoStart of the time window in ISO 8601 format; omit for no start filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.2.4
    • changedInput schema / properties / end_date / description
      Previous value: -"Fim da janela (ISO 8601). Default: sem filtro."New value: +"End of the time window in ISO 8601 format; omit for no end filter"
    • changedInput schema / properties / start_date / description
      Previous value: -"Início da janela (ISO 8601). Default: sem filtro."New value: +"Start of the time window in ISO 8601 format; omit for no start filter"
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description contributes real value beyond them by disclosing the output shape (grouped by canonical error code) and the error categories included (provider auth, rate limit). It says nothing about volume, pagination, or what a group contains, and does not state the default window when dates are omitted.

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?

A single front-loaded fragment with zero filler; the most discriminating constraint (not attributable to a specific agent) appears early. It is telegraphic rather than a complete sentence, which slightly reduces readability but not efficiency.

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 simple two-optional-parameter read tool with no output schema, the definition covers what is counted, what is excluded, and how results are grouped. Remaining gaps are minor: default time window and group contents (counts versus timestamps) are left unstated.

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?

Schema description coverage is 100% and the schema itself explains that omitting start_date or end_date removes that filter, so parameter meaning is fully documented. The description adds no date syntax or default-window guidance, but it does not need to — baseline applies.

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 a specific resource (tenant-level infra errors) and scope (errors not attributable to a specific agent), plus the grouping dimension (canonical error code). That negative scope implicitly separates it from agent-scoped tools like get_agent_metrics, but no sibling is named 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 implied rather than stated: an agent can infer this is for tenant-wide infrastructure failures such as provider auth or rate-limit problems, not agent behavior. There is no explicit when-to-use clause, no named alternative, and no mention of how it complements agent-level diagnostics.

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

Deploy Server

Other Tools