Skip to main content
Glama

get_agent_fitness

Read-only

Is an agent «fit»? fit = true when it has at least one active mandatory plan and all are green (last finished run passed and not older than 26 h for taeglich, 8 days for woechentlich); false when one is red, stale or never ran; null without mandatory plans. Without agent_id: every agent of the tenant.

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

Input Schema

NameRequiredDescriptionDefault
agent_idNoID of the agent

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / agent_id / description
      Added value: +"ID of the agent"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses the actual decision rules — freshness windows of 26 h for 'taeglich' and 8 days for 'woechentlich' — and the precise meaning of each returned value including the red/stale/never-ran failure cases. This is substantive behavioral context an agent cannot get from the annotations.

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?

Front-loaded with the core question, then the true/false/null definitions, then the tenant-wide fallback — a logical order with no filler. The dense semicolon-chained phrasing and mixed German/English period names (taeglich/woechentlich) make it slightly harder to scan than it needs to be.

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?

There is no output schema, and the description fully defines the return value domain (true/false/null) plus the criteria behind it, which is the critical missing piece. Minor gap: the result shape for the no-agent_id tenant-wide mode is not described.

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 coverage is 100% for the single agent_id string, so the baseline is 3; the description earns an extra point by explaining the semantics of omitting the parameter ('every agent of the tenant'), which the schema does not convey.

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 defines exactly what the tool computes — an agent's 'fit' state — and spells out the defining predicate (at least one active mandatory plan, all green within the freshness thresholds). It is a specific, non-tautological purpose, though it does not explicitly contrast itself with closely named siblings like get_agent_condition or get_agent_report.

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: call it to check whether an agent is healthy/fit. The description also states the alternative scope of omitting agent_id (tenant-wide sweep), which is a genuine routing hint. However, it never says when NOT to use it or which sibling answers related questions (condition, report, kennzahlen).

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.