Skip to main content
Glama

Resolve a Canton party

resolve_party

Resolve a party name or ID to a canonical Canton party, returning ID, display name, org type, CC balance, ANS names, and update count. For ambiguous queries, returns candidate list.

Instructions

Resolve a human-friendly query (ANS name, display name, or raw party ID) to a canonical Canton party. Returns the party ID, display name, org type (validator / app / sv / unknown), current CC balance, ANS names, and update count. If the query is ambiguous, returns a candidate list to choose from. Use this first whenever the user refers to a party by name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoChain to query. Defaults to "canton" (currently the only supported chain).canton
queryYesANS name (e.g. noves.unverified.cns), display name fragment (e.g. Cumberland), or raw party ID (name::hash).
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that ambiguous queries return a candidate list and lists the return fields (party ID, display name, org type, CC balance, ANS names, update count). It does not mention rate limits or permissions, but these are not critical for a read-only query.

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, front-loaded with the main purpose, and every sentence adds value. No wasted words.

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 adequately explains the return values. It covers usage, input types, behavior on ambiguity, and return fields. For a simple tool with 2 parameters, this is 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?

Schema coverage is 100% with descriptions for both parameters. The description adds value by explaining the query parameter can be an ANS name, display name fragment, or raw party ID, and the chain parameter defaults to 'canton' with a note on current support.

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 tool resolves a query to a canonical Canton party, listing supported input types and output fields. It differentiates from siblings like search_directory by specifying the use case of resolving party references.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly advises 'Use this first whenever the user refers to a party by name,' providing a clear when-to-use directive. It also implies when not to use (e.g., when transactions are needed), guiding selection among siblings.

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/Noves-Inc/canton-mcp'

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