Skip to main content
Glama

redline_watch_snippets

Prints copy-paste snippets for decorators, SDK patching, and FastAPI middleware so you can capture prompt-response logs for local regression testing.

Instructions

Print copy-paste local capture snippets for decorators, SDK patching, or FastAPI middleware.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory where redline should run.
kindNoCapture setup snippet to print. Defaults to all.
max_output_bytesNoMaximum stdout/stderr bytes returned to the MCP client.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it only says snippets are "printed." It does not clarify whether anything is written to the project at cwd, whether it merely emits text, or whether the snippets are environment-specific; "where redline should run" implies execution but that is never resolved.

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?

A single front-loaded sentence with no filler; the resource is named immediately and the qualifying detail follows. Nothing in it is redundant or padding.

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 zero-required-parameter tool with full schema coverage and no output schema, the description is minimally adequate. It still leaves open what a returned snippet looks like, where the user is expected to paste it, and whether cwd affects the printed content.

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 the enum values and cwd/max_output_bytes are already fully documented in the input schema. The description adds only a loose mapping between prose terms (decorators, SDK patching, FastAPI middleware) and the kind enum, which is marginal added meaning.

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 pairs a specific verb ("Print") with a specific resource ("copy-paste local capture snippets") and enumerates the three instrumentation styles covered (decorators, SDK patching, FastAPI middleware). It is clear what the tool produces, though it does not differentiate itself from siblings such as redline_doctor or redline_runners.

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 explicit when-to-use or when-not-to-use guidance and no named alternative among the many redline_* siblings. The agent can infer this is for bootstrapping code instrumentation, but nothing states whether to prefer it over redline_doctor or redline_quick_check, nor what preconditions exist.

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