Skip to main content
Glama

Trace a mesh path

trace_path

Trace a route through a mesh network, reporting SNR for each repeater hop. Accepts a path of hex bytes or a node name to trace its known out-path; returns timeout if no response.

Instructions

Trace a route through the mesh and report each repeater hop's SNR. Give an explicit path of repeater hops (comma-separated hex bytes, e.g. "23,5f,3a") or a node (a contact name / hex prefix) to trace along its known out-path. A path that doesn't respond returns a timeout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNorepeater hops as comma-separated hex bytes, e.g. "23,5f,3a" (or a hex string)
nodeNoa contact (name or hex prefix) to trace along its known out-path

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
completedYestrue when the trace round-trip completed
hopCountYesnumber of repeaters on the traced path
hopsYeseach hop's path hash (hex) and SNR in dB, in path order
lastSnrYesSNR of the final hop, in dB
Behavior3/5

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

The description adds timeout behavior ('A path that doesn't respond returns a timeout') but does not disclose whether the trace modifies state or requires specific permissions. Annotations are minimal (readOnlyHint: false, but no further 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?

The description is two sentences, directly stating the purpose and parameter usage without any fluff. It is front-loaded with the core function.

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?

The description covers the essential aspects: what the tool does, how to use parameters, and the timeout condition. Given that there is an output schema (not shown), not detailing the return structure is acceptable.

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 input schema already describes both parameters with examples (100% coverage). The description adds context about their usage (explicit path vs. known out-path for node), which helps differentiate the two options.

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 clearly states the action ('Trace a route through the mesh') and what it reports (SNR per hop). It distinguishes from sibling tools like reset_path or set_contact_path by focusing on tracing rather than modifying paths.

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?

The description explains when to use the tool: to trace a route either by explicit path or by known node. It implies alternatives for path management but doesn't explicitly state when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dpup/meshcore-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server