Skip to main content
Glama

Intents Swap

List supported chains

list_chains
Read-onlyIdempotent

List every chain Intents supports, with its CAIP-2 ID, alias, VM, native asset and protocols. The count comes from the live registry. Use the id or alias wherever a tool asks for a chain.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_chains"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countYes
chainsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context — 'The count comes from the live registry' signals the result is dynamic rather than a static hardcoded list, which affects caching and re-query expectations.

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?

Three short sentences with zero redundancy, leading with what is returned and closing with how to consume it. Every clause carries information an agent would otherwise have to guess.

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?

A zero-parameter, read-only discovery tool with an output schema present; the description need not restate return structure, yet it still names the key fields and the live-registry behavior. Nothing an agent needs in order to call it or use its results is missing.

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 tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a parameterless tool is 4. The note about `id` versus `alias` usefully clarifies the semantics of fields in the response rather than inventing input semantics.

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?

States a specific verb and resource — 'List every chain Intents supports' — and then enumerates the record fields (CAIP-2 ID, alias, VM, native asset, protocols), so an agent knows exactly what comes back. It is clearly distinguishable from siblings like list_assets or whoami.

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?

Gives concrete downstream guidance: 'Use the `id` or `alias` wherever a tool asks for a chain,' which tells the agent this is the lookup step that feeds other tools such as quote_swap or create_swap. It stops short of explicit when-not-to-use or prerequisite statements, but for an unfiltered enumeration tool there is little exclusion logic to state.

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.