Skip to main content
Glama
Topsail

Topsail

by AidanZealley

list_macros

Read-only

Lists a printer's G-code macros with their descriptions and parameters; internal macros starting with _ stay hidden unless requested.

Instructions

List the printer's G-code macros with their descriptions and the parameters they read. Macros starting with _ are internal and hidden unless asked for.

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

Input Schema

NameRequiredDescriptionDefault
printerNoPrinter name from list_printers. Optional when only one is configured.
include_internalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds value by disclosing what is returned (macro descriptions and the parameters each macro reads) and the default filtering rule that '_'-prefixed macros are suppressed. It does not cover error behavior for an unknown printer name, but for a read-only list tool this is solid added context.

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 short sentences, front-loaded with the core action and return contents, followed by the one non-obvious filtering rule. Nothing is redundant or padded.

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?

There is no output schema, and the description carries enough of the return shape (descriptions plus parameters read) for the agent to know what to expect from this simple two-parameter read tool. Only the exact response format and behavior on an invalid printer name remain unspecified, which is minor here.

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?

Schema coverage is 50%: the printer parameter is documented in the schema, but include_internal has only a default and no description. The sentence about '_' macros being internal and hidden unless asked for supplies exactly that missing meaning, compensating for the gap rather than merely restating the 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?

The description uses a specific verb ('List') and a specific resource ('the printer's G-code macros') and even previews the payload ('descriptions and the parameters they read'), so the agent knows exactly what it gets back. It does not explicitly distinguish itself from the sibling run_macro, which is the one plausible confusion point for an agent browsing macros.

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?

Usage is only implied: the mention of internal '_' macros being hidden unless asked for gives a conditional hint about when to pass include_internal, but there is no explicit statement of when to call this versus run_macro or any prerequisite context. Adequate but leaves the agent to infer the workflow.

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