Skip to main content
Glama

Get Config

get_config
Read-onlyIdempotent

Read one or all configuration sections from a Meshtastic device over serial or TCP, returning structured settings for inspection, validation, or troubleshooting.

Instructions

Read one or all config sections.

Returns {config: {<section>: {...}}}.

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

Input Schema

NameRequiredDescriptionDefault
portNoSerial port or `tcp://host[:port]`; omit to auto-select the one likely Meshtastic device.
sectionNoAny LocalConfig section (device, position, power, network, display, lora, bluetooth, security) or LocalModuleConfig section (mqtt, serial, telemetry, external_notification, canned_message, range_test, store_forward, neighbor_info, ambient_lighting, detection_sensor, paxcounter, audio, remote_hardware, statusmessage, traffic_management). Omit or pass "all" for every section.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld behavior, so the description needs only to add operational texture. Instead it contributes a return shape that the existing output schema already conveys, and says nothing about device connection, auto-selection of the port, or what happens for an unknown section.

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?

Two short sentences with the action front-loaded and no filler. The second sentence restates return structure already available in the output schema, which is the only wasted line.

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

Completeness3/5

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

With an output schema and fully documented parameters, most structured information is covered, and the annotations carry the safety profile. What is missing is the hardware context: whether a device must be attached, behavior on an invalid section name, and how this read differs from a snapshot.

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 100%: the port parameter's tcp:// syntax and auto-select behavior and the full enumeration of valid sections are all documented in the schema. The description adds no filtering syntax, aliasing, or defaults beyond that, so the baseline of 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?

"Read one or all config sections" gives a specific verb (read) and resource (config sections), including the scope variation (single vs all). It does not explicitly distinguish itself from nearby tools like set_config, config_snapshot, or config_diff, so the agent must infer that this is the raw read path.

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 when-to-use guidance and no named alternative. The description never says to use set_config for writes or config_snapshot for persisting a baseline, nor does it state prerequisites such as a connected device. The agent must open the schema to learn that omitting parameters reads everything.

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