Skip to main content
Glama

red_flags

Scan a task spec for seven known spec-vs-checker failure patterns. Flags missing rule language with severity, evidence, fix question, and real case so a spec-following worker can pass.

Instructions

Scan a task spec's text for the 7 known spec-vs-checker failure patterns. For each pattern, the spec must contain language defining the rule; missing language is flagged with severity, the evidence basis, the fix question, and the real case that burned workers. A spec that follows its own text exactly must be passable — flags mark where that is not yet true.

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": {
      "spec_text": "<spec_text>"
    },
    "name": "red_flags"
  }
}

Input Schema

NameRequiredDescriptionDefault
spec_textYesThe full task spec / job description text to scan

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses that output is per-pattern, and that each flag carries severity, evidence basis, a fix question, and a real-world case, plus the design invariant that a self-consistent spec must be passable. It still leaves the seven patterns themselves unnamed and does not state the response container shape.

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?

Three tight sentences, front-loaded with the action and scope, then output detail, then the governing principle. Phrasing like "the real case that burned workers" is evocative but slightly informal for a spec; otherwise every sentence carries information.

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 one-parameter read-style tool with no output schema, the description covers what each flag contains but not the overall return structure or how many flags to expect, and it never enumerates the seven patterns. Adequate to invoke correctly, but an agent cannot fully anticipate the response.

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?

A single required parameter with 100% schema coverage, so the baseline is a 4. The description reinforces the semantics by saying the text scanned is the task spec itself, matching spec_text's schema description without contradicting 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?

States a specific verb and resource: "Scan a task spec's text for the 7 known spec-vs-checker failure patterns," which is far more precise than a restatement of the name. However, it never differentiates itself from the sibling spec_checklist, so an agent cannot tell from the text which of the two to pick.

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 rather than stated: the tool is for auditing a spec against checker-failure patterns, and the closing sentence hints at intent ("flags mark where that is not yet true"). There is no explicit when-to-use, when-not-to-use, or routing to spec_checklist.

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