Skip to main content
Glama

Reflect on Patterns

gladiator_reflect
Read-onlyIdempotent

Query and cluster observed tool failures, corrections, and conventions to surface patterns and recommend updates to rules, hooks, and skills.

Instructions

Query and cluster observations. No args = stats overview. With query = filtered search. Unprocessed observations are clustered by tag overlap with recommendations.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax observations to analyze (default 50)
queryNoKeyword to filter observations by summary, tags, or recommendation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered by structured data. The description adds real behavior beyond that: the dual result shape (overview vs. filtered), that only unprocessed observations are clustered, and that clustering is by tag overlap with recommendations. It still omits any sense of result size, ordering, or how the limit interacts with clustering, which matters for a read tool with no output schema.

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?

Four short sentences, front-loaded with the core action and immediately followed by the mode split. Nearly zero waste, though the final clustering sentence is compressed to the point of being slightly ambiguous.

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 explaining returns, and it does sketch both outcomes (stats overview, filtered search plus tag-overlap clustering with recommendations). What 'stats overview' contains and how limit applies in each mode remain unspecified.

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 parameters are already documented, setting the baseline at 3. The description adds mode semantics for the absence/presence of query, which is genuinely useful, but says nothing about how limit constrains the clustering versus the overview.

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?

States a specific verb pair and resource: 'Query and cluster observations', then splits into two clearly named modes. An agent can tell what the tool returns at a high level, though it never explicitly contrasts itself with the sibling gladiator_observe.

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

Usage Guidelines4/5

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

'No args = stats overview. With query = filtered search.' gives an explicit, actionable rule for choosing between the tool's two modes based on whether the optional parameter is supplied. It does not say when to prefer this tool over gladiator_observe, so it stops short of full alternative routing.

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