Skip to main content
Glama

Get agent performance

get_performance
Read-only

An agent's recent performance: run metrics, outcome totals (self-reported ones labeled) and its goals. Counts only. Read-only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent_id": "<agent_id>"
    },
    "name": "get_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLook-back window in days (1-365). Default 30.
agent_idYesTarget agent's id (from list_agents / create_agent / get_catalog view=agents).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint=false, so the safety bar is covered. The description adds genuinely useful context beyond them: results are counts only (aggregated, not raw records) and self-reported outcome totals are explicitly labeled. It stops short of describing the time-bucketing or response shape.

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?

Very short and front-loaded, with the returned payload named in the first sentence and the two constraints ('Counts only', 'Read-only') as trailing fragments. It is efficient, though the telegraphic phrasing costs a little readability without saving much space.

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?

With no output schema, the description carries the burden of saying what comes back, and it does list the payload components plus the self-report labeling caveat. Minor gaps remain on aggregation granularity and whether goals are included as counts or records, but the essentials for calling it are present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, with both agent_id and the days look-back window (1-365, default 30) fully documented in the schema. The description adds no parameter-level meaning, so it sits at the baseline for fully covered schemas.

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 and enumerates the returned content: run metrics, outcome totals, and goals, for one agent. 'An agent's recent performance' distinguishes it from the plain get_agent sibling, though it never explicitly contrasts with it or with set_agent_outcomes.

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 by 'recent' and 'Read-only'; there is no statement of when to reach for this versus get_agent or the outcome-setting tool. An agent can infer it is the read path for performance data, but no exclusion or precondition is given.

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