Skip to main content
Glama

Bitcoin Stratigraphy Enterprise Data Engine & Agent Notary Hub

Get Mesh Status

mesh.get_status
Read-onlyIdempotent

Inspect local mesh network topology, active peer connections, and relay synchronization state. Returns connected peer counts, latency figures, and gossip protocol health. Use this tool to check node network connectivity prior to broadcasting or querying distributed telemetry. Read-only and idempotent. Live L402 Satoshi settlement: a configured NWC wallet issues the exact-priced Lightning invoice; paid execution requires confirmed incoming settlement and an invoice-bound payment proof. Handle HTTP 402, pay explicitly, then retry the identical request with Authorization: L402 :. Invoice creation alone is not payment; unavailable verification does not authorize execution.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
nodePubkeyYesLowercase hexadecimal Nostr public key identifying this mesh node. Example: "f72cc555ec2948fdc4b5b2c2778821499ea8ce2b8569b68675899e296d3ff253".
topologyHealthYesCurrent consensus topology health classification. Constraints: allowed values: healthy, degraded, isolated. Example: "healthy".
activePeerCountYesNumber of recently validated nodes, including the local node. Constraints: minimum: 1. Example: 3.
quorumThresholdYesMinimum unique node attestations required for consensus. Constraints: minimum: 1. Example: 2.
configuredPeerCountYesNumber of remotely configured trusted peers. Constraints: minimum: 0. Example: 2.
crossValidationSuccessRateYesLifetime ratio of successful peer cross-validation attempts. Constraints: minimum: 0; maximum: 1. Example: 0.98.
averagePropagationLatencyMsYesMean round-trip propagation latency for successful attestations. Constraints: minimum: 0. Example: 42.7.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / description
      Previous value: -"No input parameters required."New value: +"Pass {} for current peer health and quorum; extra arguments are rejected and inbound subscription state is not tracked."
  2. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive. The description adds return-value context (peer counts, latency, gossip health) and an L402 payment flow, but much of the latter is boilerplate about payment rather than behavior specific to this inspection tool. It does not disclose rate limits or auth beyond payment.

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 first three sentences are concise and front-loaded. However, the L402 settlement block spans four dense sentences and is largely generic payment boilerplate that buries the core purpose, reducing efficiency.

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?

An output schema exists, so return values needn't be explained, yet the description still lists them. The L402 flow is described, but without indicating whether it applies to this specific read-only tool or is a general requirement; an agent may be confused about when payment is actually needed for a status check.

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?

Zero parameters, so baseline is 4. The schema description already notes 'Pass {}' and rejects extra args, which the tool description does not conflict with; no additional parameter semantics needed.

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 uses a specific verb ('Inspect') with a clearly scoped resource (local mesh network topology, peer connections, relay sync state). It is distinguishable from siblings like mesh.broadcast, which is a write operation, and from payment/proof tools.

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?

Explicitly states when to use: 'to check node network connectivity prior to broadcasting or querying distributed telemetry,' and 'Read-only and idempotent.' No exclusions or named alternatives, but the context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources