Skip to main content
Glama

improvement_verify

Compare a revision against its baseline and reject regressions in grounding, unsupported claims, citations, or required sections.

Instructions

Compare a revision against its baseline and refuse regressions in grounding, unsupported assertions, citations or required sections.

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": {
      "workspace": "<workspace>",
      "before_path": "<before_path>",
      "after_path": "<after_path>"
    },
    "name": "improvement_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceYes
after_pathYes
before_pathYes
depth_targetNo
allow_em_dashNo
max_dimension_dropNo
max_grounding_dropNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv4.2.0
    • changedInput schema / additionalProperties
      Previous value: -trueNew value: +false
    • addedInput schema / properties
      Added value: +{
      +  "after_path": {
      +    "type": "string"
      +  },
      +  "allow_em_dash": {
      +    "default": false,
      +    "type": "boolean"
      +  },
      +  "before_path": {
      +    "type": "string"
      +  },
      +  "depth_target": {
      +    "default": 500,
      +    "type": "integer"
      +  },
      +  "max_dimension_drop": {
      +    "default": 0.05,
      +    "type": "number"
      +  },
      +  "max_grounding_drop": {
      +    "default": 0.05,
      +    "type": "number"
      +  },
      +  "workspace": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / required
      Added value: +[
      +  "workspace",
      +  "before_path",
      +  "after_path"
      +]
  2. First observedv4.0.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states that the tool refuses regressions in named categories, but does not explain what refusal means operationally, whether the tool only validates or also mutates state, how thresholds are applied, or what the caller receives. This leaves significant behavioral gaps for a tool with seven parameters.

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?

The definition is a single sentence that front-loads the core action and scope. It contains no filler, repetition, or tangential wording. Its brevity is appropriate even though more detail is needed elsewhere.

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

Completeness2/5

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

Given seven parameters, no annotations, no output schema, and 0% schema description coverage, the description is not complete enough for an agent to invoke the tool confidently. It covers the high-level purpose and regression categories but omits parameter meanings, refusal behavior, threshold semantics, and expected outcomes. It provides only a minimal conceptual frame.

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%, so the description must compensate for missing parameter documentation. It only indirectly maps before_path and after_path to baseline and revision, and hints at drop thresholds through the quality dimensions. It says nothing about workspace, depth_target, allow_em_dash, max_dimension_drop, or max_grounding_drop, leaving most parameters unexplained.

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 states a specific verb and resource: compare a revision against its baseline and refuse regressions. It adds scoped quality dimensions (grounding, unsupported assertions, citations, required sections), which makes the purpose concrete. However, it does not explicitly distinguish this verification step from sibling tools like quality_score or claim_audit.

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?

The description implies use after producing a revision, when a baseline exists and regression prevention is needed. It does not state when not to use it, prerequisites for workspace or paths, or how it relates to alternatives such as quality_score. Usage is therefore implied rather than explicitly guided.

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