Skip to main content
Glama

Delegation statistics

get_stats
Read-only

Summarize delegation logs by task type and model to show counts, outcomes, and success rates, with optional date and task-type filters for tuning orchestration.

Instructions

Summary of the local delegation log by task type and model: counts, outcomes and success rate.

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

Input Schema

NameRequiredDescriptionDefault
sinceNoISO date (YYYY-MM-DD or full timestamp); only records from then on.
taskTypeNoOnly this task type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false; the description reinforces the local, non-open-world scope by saying 'local delegation log'. It discloses the return contents (counts, outcomes, success rate), which is genuinely useful with no output schema, but says nothing about empty results, default time window, or performance characteristics.

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 dense sentence that front-loads the resource and then the grouping and metrics; no wasted wording. It is a noun phrase rather than a verb-led statement, which slightly weakens the opening.

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-param read-only aggregation tool with full schema description coverage, the description covers the resource, grouping and returned metrics. The only meaningful gap is what happens when both optional parameters are omitted (implicitly all records), which the agent must infer.

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%, so both since and taskType are fully documented in the schema and the baseline is 3. The description's 'by task type and model' clarifies the grouping dimension but does not add filtering syntax or clarify that taskType narrows the result rather than splits it.

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 (local delegation log) and states the aggregation shape by task type and model, returning counts, outcomes and success rate. It distinguishes reading aggregated log data from the write-oriented siblings by implication, though it never says 'use this instead of log_delegation' explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance. Nothing tells the agent that this is the read/aggregate tool as opposed to log_delegation or log_outcome (which append records) or recommend_model, nor when the filtered vs unfiltered call is appropriate.

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