Skip to main content
Glama

counterpart_setup_fields

Read-onlyIdempotent

Lists the printer setup fields and .env variable mappings this server reads, including model choices and camera behavior, and resolves a serial number to its model without contacting a printer.

Instructions

Counterpart contract (counterpart/1): the printers this server drives and the settings it reads for each, by .env variable name (first canonical, then aliases): label, hint, whether required, the model choices and the model each serial-number prefix names, and whether camera_snapshot reads the printer's camera with only those settings (cameraSnapshot). Pass serial to get the model it names. Sends nothing to a printer and returns no configured values.

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_setup_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
serialNoA Bambu serial number: model is the one it names, when known.

Output Schema

NameRequiredDescriptionDefault
kindsYes
modelNo
serverYes
slicerNo
contractYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.1.93
    • addedOutput schema / properties / kinds / items / properties / cameraSnapshot
      Added value: +{
      +  "description": "Whether camera_snapshot reads this kind's camera with only the settings these fields write, so a setup check can ask for a picture too.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / kinds / items / required
      Previous value: -[
      -  "kind",
      -  "label",
      -  "env",
      -  "fields"
      -]New value: +[
      +  "kind",
      +  "label",
      +  "env",
      +  "cameraSnapshot",
      +  "fields"
      +]
  2. Addedv1.1.77

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive, and closed-world, but the description adds real behavioral context beyond them: it explicitly states it sends nothing to a printer and returns no configured values, which tells the agent the result is a contract/schema rather than live settings. It does not mention caching, versioning semantics of '(counterpart/1)', or how aliases resolve, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core information is front-loaded, but the first sentence is a long comma-spliced enumeration that mixes the 'counterpart/1' version tag, env-variable naming, and seven distinct field concepts. The closing sentence earns its place; the middle listing could be restructured for faster scanning.

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 only one optional parameter, the description does not need to explain return shapes, yet it still summarizes what the contract contains and confirms no printer I/O occurs. That is sufficient for correct invocation; only guidance on choosing this versus discover/self-check siblings is missing.

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 coverage is 100% and the parameter already documents that a Bambu serial number yields the model it names, so the description's 'Pass serial to get the model it names' largely restates the schema. It adds the mild signal that the call is optional and that the result changes shape when serial is supplied, but no format or edge-case detail, 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 identifies a specific resource: the contract/configuration description of the printers the server drives and the settings read per printer, enumerated field by field (label, hint, required, model choices, serial-prefix model mapping, cameraSnapshot). It also distinguishes itself from value-returning siblings by stating it 'returns no configured values.' It loses a point because the verb is only implied ('Counterpart contract') rather than stated, and the run-on enumeration makes the purpose take effort to extract.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance relative to siblings such as counterpart_discover_printers, counterpart_self_check, or counterpart_printer_info. The only conditional guidance ('Pass serial to get the model it names') concerns a parameter, not tool selection, so an agent must infer that this is a schema/config-reference tool rather than a live data tool.

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