Skip to main content
Glama

counterpart_self_check

Read-onlyIdempotent

Verify this install’s runtime dependencies and bundled bambu-node patch after an update, reporting loaded versions and flagging failed checks without contacting the printer.

Instructions

Counterpart contract (counterpart/1): whether this install's own runtime dependencies and its bundled bambu-node patch loaded, each with its installed version. Run it after an update; ok is false when a check failed, with a message saying which. Sends nothing to the printer.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
okYesEvery check passed, optional dependencies aside.
checksYes
serverYes
contractYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.93

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the bar is lower, and the description adds two useful traits beyond them: it touches no hardware ('Sends nothing to the printer') and it defines the failure contract ('ok is false when a check failed, with a message saying which'). It stops short of noting that failures are reported rather than raised, which would have completed the picture.

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?

Three tightly packed sentences: identity, trigger, and result contract, front-loaded with the 'counterpart/1' contract tag. Every clause carries information and nothing is repeated from the schema or annotations.

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

Completeness5/5

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

With an output schema present, the description need not enumerate return fields, and it correctly focuses on the one thing structured data cannot convey: when to run it and what a falsy 'ok' means. For a zero-parameter, fully annotated, closed-world diagnostic, nothing material is missing.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. No parameter behavior is contradicted or left ambiguous.

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

Purpose5/5

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

The description names a precise resource (this install's runtime dependencies plus its bundled bambu-node patch) and states the result shape (each with its installed version). That is unmistakably distinct from the printer/network/CAD siblings, so an agent can identify it without opening the schema.

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?

'Run it after an update' gives a concrete trigger condition for invocation. There are no exclusions or named alternatives, but no sibling plausibly competes with an install-self-check, so the guidance is clear in context.

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