Skip to main content
Glama

Plan checks for a change

plan_checks

Determine which evidence checks a change requires from files changed since a base ref and policy triggers, including matching files and the K11 tool for each.

Instructions

Which kinds of evidence this change needs, from the files changed since base_ref and the policy's triggers (plus kinds the policy always requires), with the matching files and the K11 tool that produces each.

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

Input Schema

NameRequiredDescriptionDefault
base_refNoorigin/main
include_uncommittedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It discloses the data sources (git diff since base_ref, policy triggers and always-required kinds) and the shape of the result, implying a read-only computation. It does not state what happens when no policy exists, whether base_ref must resolve, or any error behavior.

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?

A single dense sentence with no filler, front-loading the core output (which evidence kinds are needed). It loses a point for being an ungrammatical fragment and for unexplained internal jargon such as 'K11 tool'.

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 no output schema, the description usefully enumerates the return contents: evidence kinds, matching files, and the tool that produces each. That covers the main gap for a small two-parameter planning tool, though include_uncommitted and edge-case behavior remain unaddressed.

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 0%, so the description must compensate for two undocumented parameters. It explains base_ref as the diff baseline ('files changed since base_ref'), which is genuine added meaning, but says nothing about include_uncommitted or the defaults, leaving half the parameters uninterpreted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun-phrase fragment that never states a verb, but it does convey a specific computation: the evidence kinds required for a change, derived from files changed since base_ref and policy triggers, plus the matching files and the producing tool. The reference to 'the K11 tool that produces each' hints at a relationship to collect_evidence but does not explicitly differentiate this tool from its siblings.

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 no explicit when-to-use, when-not, or prerequisite statement. Usage is only implied by the phrasing 'the K11 tool that produces each,' which suggests a plan-then-collect workflow. An agent can infer the sequencing but not any exclusions or failure conditions.

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