Skip to main content
Glama

research_check_draft

Validate draft records and declared whole-artifact length before review or finish, returning actual counts and explicit range errors without inferring limits or making model calls.

Instructions

Check draft records and declared whole-artifact length before review or finish, without model calls. Returns actual counts, explicit range checks and errors. No limit is inferred from prose. Does not change progress, reports, reviews or receipts; uses the shared local task lock. ok describes these mechanical checks only, never semantic quality or delivery approval. Correct ordinary drafts and recheck; preserve frozen evaluation originals.

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": {
      "task": "<task>"
    },
    "name": "research_check_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYes
artifactNofinal.md

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.5.7
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv1.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 supplied, the description carries the full burden and does a good job: it discloses no model calls, no mutation of progress/reports/reviews/receipts, use of the shared local task lock, and that 'ok' covers only mechanical checks, not semantic quality. Missing only a note on failure/locking contention behavior, but the safety profile is well covered.

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?

Front-loaded with the action and the timing constraint, and each sentence adds a distinct constraint (no model calls, no side effects, lock usage, scope of 'ok'). It is slightly clipped/jargon-heavy in places, but there is little outright waste.

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?

For an unannotated tool with an output schema, the description covers side effects, concurrency, and the meaning of the success signal well; return values need not be explained. The remaining completeness gap is the undocumented inputs, which an agent must infer.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters, so the description must compensate and largely does not. It alludes obliquely to 'declared whole-artifact length' and 'drafts', but never explains what 'task' identifies or that 'artifact' defaults to final.md and which file it should point to.

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 concrete verb (check) and specific resources (draft records and declared whole-artifact length), plus the moment of use (before review or finish). It distinguishes itself from the review/finish siblings by role, though the phrasing 'declared whole-artifact length' is idiosyncratic jargon that takes a second read.

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?

Gives clear when-to-use context ('before review or finish') and remediation guidance ('Correct ordinary drafts and recheck; preserve frozen evaluation originals'). It does not name a specific alternative tool or state when not to use it, so routing is implied rather than explicit.

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