Skip to main content
Glama

verify_ladder

Read-onlyIdempotent

Suggests a minimal set of verification tasks from changed file paths, including static checks for C/C++ files before pytest, so you run only the checks needed.

Instructions

Suggest minimal verify tasks for a set of changed file paths.

Returns static_checks (e.g. ["clang-tidy"]) when a changed path is a C/C++ file in a C++ repo — run those before the pytest tasks (see tools/clang_tidy_workflow).

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": {
      "changed_paths": "<changed_paths>"
    },
    "name": "verify_ladder"
  }
}

Input Schema

NameRequiredDescriptionDefault
changed_pathsYesList of changed file paths (workspace-relative or repo-prefixed), e.g. ["pypto/src/codegen/pto/foo.cc", "simpler/src/common/comm/bar.cc"]. Used to derive minimal verify task set.

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

Annotations already declare readOnly, idempotent, non-destructive and closed-world behavior, so the safety profile is covered. The description adds genuine behavioral context: a conditional output key (static_checks) triggered by C/C++ files in a C++ repo, and the ordering relative to pytest tasks — information not derivable from annotations.

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?

Two short sentences, front-loaded with the core action, then the conditional return behavior. Minor formatting noise (escaped code markers, trailing blank line) but no wasted prose.

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?

With an output schema present and rich annotations, the description needn't enumerate return values; it still explains the one notable conditional output and the follow-up workflow. Complete enough for a single-parameter advisory tool, with only the absence of explicit alternative-routing guidance as a gap.

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 description coverage is 100% and the single parameter already documents accepted path formats and purpose. The description restates 'set of changed file paths' without adding format, normalization, or edge-case detail beyond the schema, so the baseline 3 applies.

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: 'Suggest minimal verify tasks for a set of changed file paths.' An agent can immediately tell this is a derivation/advisory tool rather than an executor, though it does not explicitly name a sibling it differs from (e.g. generate_verify_handoff).

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?

There is implied sequencing guidance ('run those before the pytest tasks') and a pointer to tools/clang_tidy_workflow, but no explicit statement of when to call this versus alternatives or when it is unnecessary. The agent must infer that this is a pre-test planning step.

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