Skip to main content
Glama

countinghouse_validate_plan

Validate a proposed module design before writing files by checking device, services, and actions for naming issues, duplicates, missing descriptions, runtime tool collisions, and planned tool names.

Instructions

Check a proposed module design -- device, services, actions -- before writing any files. Reports naming problems, duplicates, missing descriptions and collisions with tools already on this runtime, plus the tool names the plan would produce.

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": {
      "device": "<device>",
      "services": "<services>"
    },
    "name": "countinghouse_validate_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
callsNoComposition addresses this module intends to call, in <module>/<service>.<action> form -- the same shape as package.json's countinghouse.calls. Optional.
deviceYesDevice friendlyName for the module.
servicesYes

Output Schema

NameRequiredDescriptionDefault
okNo
problemsNo
toolNamesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does reasonably well: it discloses that the tool only checks and writes nothing, and it lists the specific classes of problems reported. It does not state whether problems are returned as a report versus raised as an error, or whether it blocks execution, leaving some behavioral ambiguity.

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?

Two tight sentences, front-loaded with the purpose and followed by the concrete output content. No filler, no repetition of the name.

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?

An output schema exists, so return values need no explanation, and the description covers purpose, timing and check categories for a three-parameter nested-structure validator. It could say more about partial plans or failure behavior, but the essentials for correct invocation are present.

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?

The description names device, services and actions, which the schema already documents at 67% coverage. It adds no meaning for the optional 'calls' parameter or for how nested service/action entries are interpreted during validation, so it adds little beyond the structured schema.

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 specific verb and resource ('Check a proposed module design -- device, services, actions') and enumerates what the check surfaces (naming problems, duplicates, missing descriptions, collisions, produced tool names). The word 'proposed' plus 'before writing any files' implicitly separates it from countinghouse_validate_module, but no sibling is named explicitly, so it stops short of a 5.

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?

'before writing any files' gives a clear trigger condition for when to call this tool. It offers no exclusions or explicit alternative tools to use instead, so the when-not half of the guidance is absent.

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