Skip to main content
Glama

insights

Read query volume, latency, and recall-mix statistics to monitor semantic search performance and diagnose retrieval or daemon issues.

Instructions

Use to read your own recall stats: query volume, latency, recall mix.

Returns: Formatted query volume, latency, and recall-mix statistics. Input refusals, daemon errors, and unexpected failures return Error: ... text. Connection failures include recovery guidance.

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": "insights"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.4.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations exist, so the description carries the full behavioral burden, and it does add real value: it discloses three failure classes (input refusals, daemon errors, unexpected failures) returning 'Error: ...' text, and that connection failures include recovery guidance. It stops short of stating permission or auth requirements, but the failure semantics are unusually well covered.

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?

Structure is front-loaded: a single usage sentence followed by a clearly delineated 'Returns:' block and error behavior. The 'Returns:' list partially restates what an output schema already provides, which is minor redundancy but not bloat.

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 no-parameter read tool with an output schema present, the description covers purpose, output shape at a high level, and error semantics, which is sufficient to call it correctly. It could be slightly stronger by noting whether results are scoped or time-bounded, but no essential information is missing.

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?

The tool takes zero parameters, so the schema needs no elaboration and the baseline is 4. The description correctly adds no parameter discussion, avoiding misleading hints about nonexistent inputs.

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 verb ('read') and resource ('your own recall stats') and enumerates the concrete metrics returned: query volume, latency, and recall mix. An agent knows exactly what this tool yields, though it does not distinguish itself from loosely related siblings such as 'status' or 'show'.

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?

The opening 'Use to read your own recall stats' gives implied usage context for a stats-reading tool, but there is no explicit when-not guidance and no alternative named (e.g., when to prefer 'status' instead). With a zero-parameter read tool this is minimally adequate.

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