Skip to main content
Glama

Observe Pattern

gladiator_observe
Idempotent

Capture a pattern worth learning from during coding sessions, with an optional recommendation and artifact type. Deduplicates entries by summary hash.

Instructions

Record a pattern worth learning from, with optional recommendation and artifact type. Deduplicates by summary hash.

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": {
      "summary": "<summary>"
    },
    "name": "gladiator_observe"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoFreeform tags for clustering
sourceNoWhere this observation came from (default: manual)
contextNoOptional structured context
summaryYes1-2 sentence description of what happened (min 20 chars)
session_refNoSession file reference when observing from conversation history
artifact_typeNoSuggested artifact type (auto-classified if omitted)
recommendationNoWhat to do about this pattern (auto-generated if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations only supply idempotentHint=true, and the description earns credit for explaining the dedup key is a summary hash, which is genuinely beyond the annotation. It does not say what happens on a duplicate (silently skipped, merged, error) or whether the record persists immediately, leaving the mutation semantics partly opaque.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no filler: the core action comes first, then the dedup behavior. Every clause carries information an agent could not get from the title alone.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a seven-parameter tool with a nested context object, no output schema, and only an idempotency annotation, the description is thin on what the tool returns and what a duplicate-hit does. The core purpose and dedup rule are covered, but the behavioral picture is incomplete.

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 all seven parameters including the nested context object are already documented. The description only restates 'recommendation' and 'artifact_type' as optional, adding no syntax or format detail beyond what the schema provides, which matches the baseline 3.

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?

"Record a pattern worth learning from" gives a specific verb plus resource, and the second clause names the two optional payload fields. However, it does not distinguish this from the sibling gladiator_reflect, so an agent must infer whether 'learning from' overlaps with 'reflecting'.

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 statement of when to use this versus gladiator_reflect, nor when a manual observation is appropriate compared with hook/conversation/session sources. The description implies usage through the word 'Record' but provides no selection criteria or exclusions.

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