Skip to main content
Glama

list_contacts

Read-onlyIdempotent

Retrieve cross-chain contact entries with labels, addresses, and notes, filtered by chain or label. Supports signed integrity verification and unsigned in-memory entries.

Instructions

Return the joined per-label view across chains. Each row contains the label, addresses keyed by chain, optional notes / tags, the earliest addedAt across the joined entries, and an optional unsigned: true flag (issue #428) when at least one chain entry is unsigned (in-memory only). Strict-fail on tamper (signed disk blobs): any signature failure / anchor mismatch / version rollback throws immediately (CONTACTS_TAMPERED / CONTACTS_ANCHOR_MISMATCH / CONTACTS_VERSION_ROLLBACK) rather than silently dropping rows — agents must surface the failure to the user. Unsigned in-memory entries are merged on top of the verified signed view; signed entries always win on a per-(label, chain) basis. In demo mode, the demo in-memory store is read directly (no signature path); all four chains supported, every row is unsigned: true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoIf specified, only verifies + returns entries for that chain. Otherwise returns the joined per-label view across all chains with at least one verified entry.
labelNoFilter to a specific label. Useful for 'show me what we know about Mom' single-record reads.
Behavior4/5

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

Annotations already mark the tool as read-only, non-destructive, idempotent, and open-world. The description adds critical behavioral details: strict-fail on tamper with specific error types, unsigned in-memory entry merging, demo mode override, and per-(label, chain) conflict resolution. No contradiction with annotations.

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?

The description is front-loaded with the primary purpose, then adds important details about tamper handling, unsigned entries, and demo mode. While somewhat dense, each sentence provides value. Minor redundancy in discussing 'unsigned: true' flag, but overall efficient.

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

Completeness5/5

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

Given no output schema, the description fully explains the return format (fields like label, addresses, notes, addedAt, unsigned flag). It covers error conditions, edge cases (unsigned entries, demo mode), and parameter semantics. For a read tool with two optional parameters, this is comprehensively complete.

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?

With 100% schema coverage, the description adds meaning beyond the schema: it explains that omitting 'chain' returns all chains, and using 'label' performs a single-record lookup. This clarifies the default behavior and use case for each parameter.

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 that the tool returns a 'joined per-label view across chains' with specific fields (label, addresses, notes, addedAt, unsigned flag). This differentiates it from sibling tools like 'verify_contacts' (which only verifies) and 'add_contact' (which modifies). The verb 'Return' and the resource 'per-label view' make the purpose specific and unambiguous.

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 optional 'chain' and 'label' parameters: filter by chain or single record search. It also mentions the strict-fail behavior on tamper, guiding agents to surface errors. However, it does not explicitly state when not to use this tool or provide alternatives, though the sibling list implies other contact tools exist.

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/szhygulin/recon-crypto-mcp'

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