Skip to main content
Glama

info_peers

Get a list of peers this node is connected to. Optionally filter by specific NodeIDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
networkNoThe Avalanche network to query (default: mainnet)
nodeIDsNoOptional list of NodeIDs to filter peers by (e.g., ["NodeID-AbC..."]). If omitted, all peers are returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the transparency burden. It contributes context that the peers are for 'this node' and supports filtering, but it omits details like response format, pagination, or error conditions. This is adequate but not rich.

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 a single concise sentence, front-loading the primary action and adding the optional filter. No superfluous words.

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?

For a simple read-only info tool with two optional parameters fully specified in the schema, the description covers the essentials: what it returns and the optional filter. It doesn't explain return structure, but the lack of output schema and the straightforward nature make this acceptable.

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?

The schema provides 100% description coverage for both the network enum and nodeIDs array, including defaults and examples. The description only restates the nodeIDs filter, adding no new parameter semantics beyond the schema.

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 the specific verb 'Get' and clearly identifies the resource as 'a list of peers this node is connected to,' with optional filtering by NodeIDs. This clearly differentiates it from sibling tools, none of which list peers.

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 implies usage for querying peer connections and optional filtering, but it doesn't explicitly name alternatives or exclusion conditions. However, the context is clear, and no sibling tool offers this functionality, so it's sufficient.

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.