Skip to main content
Glama

check_examples

Read-onlyIdempotent

Runs all bad examples as regression tests to confirm guarded cases are still caught and lists unguarded ones as open lessons; also flags unchanged bad elements reappearing in a composition.

Instructions

Run every bad example as a regression test: each guarded one must still be caught by its rule; unguarded ones are listed as open lessons. Also reports where a bad element is back, unchanged, in a composition (lint reports the same as example/repeat).

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

Input Schema

NameRequiredDescriptionDefault
compositionNoComposition name (file in compositions/ without .json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds useful behavioral detail beyond that: guarded examples must still be caught by their rule, unguarded examples become open lessons, and bad elements recurring unchanged in a composition are reported. It still omits return format and the effect of omitting the composition parameter.

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?

The description is compact and front-loads the main action. The parenthetical about lint reporting the same as example/repeat is terse and somewhat confusing, but the core explanation remains efficient.

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?

It covers the core test semantics for a read-only tool with one optional parameter and no output schema. Gaps remain around the optional composition parameter's default behavior, the result structure, and how this tool relates to sibling tools such as lint or check_lint_rule.

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% and the schema already describes composition as a composition file name without .json. The description adds that composition relates to reporting a bad element back unchanged, but it does not clarify whether the parameter scopes the whole check or only the recurrence report, nor what happens when it is omitted. Baseline 3 is appropriate.

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 and resource: run bad examples as regression tests. It distinguishes guarded examples (must still be caught by their rule) from unguarded ones (listed as open lessons), and adds that it reports recurring bad elements in compositions. It does not explicitly distinguish itself from sibling tools like list_examples or lint, and the closing lint comparison is ambiguous.

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 implied: use it to verify that guarded bad examples are still caught and to see unguarded examples as open lessons. However, there is no explicit when-to-use or when-not guidance, no alternative named, and the optional composition parameter's scope is not clearly stated.

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