Skip to main content
Glama

Lookup Protocol or Token by Name

pacta_lookup_protocol
Read-onlyIdempotent

Resolve a protocol or token name to Pacta's verified record: canonical slug and page URL, checksummed primary contract and controller, classification with its evidence basis (Base-EAS-attested vs RPC-observed only), and ready-to-use preflightArgs {chain, address} for pacta_check_preflight. 316 protocols + 17 briefs, answered in memory (no RPC). Free in every pricing mode.

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": "pacta_lookup_protocol"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoprotocol pages, briefs, or all (default).
chainNoOptional chain filter.
limitNoDefault 10 (20 when listing).
queryNoProtocol or token name, symbol, slug or 0x address (e.g. 'Aave', 'Ethena', 'USDe', 'Moonwell', 'kUSD'). Empty or '*' lists what Pacta tracks.
caller_agentNoOptional identifier of the calling AI agent, IDE, or framework (e.g. 'claude-code', 'cursor', 'windsurf', 'coinbase-agentkit', 'elizaos', 'langchain', 'chatgpt', 'gemini', 'openclaw', 'custom-agent'). Omitted or invalid values never block a call (inferred from known client headers or 'unspecified'). Lowercase slug only; never include personal names, emails, or secrets.
caller_purposeNoOptional: operational workflow context for this pre-execution check (closed enum).
requester_roleNoOptional: high-level role category of the requester or system running this check (closed enum; no personal data).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -330New value: +333
  2. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -329New value: +330
  3. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -328New value: +329
  4. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -323New value: +328
  5. Changed1 schema field changed
    • changedInput schema / properties / caller_agent / description
      Previous value: -"Identifier of the calling AI agent, IDE, or framework (e.g. 'claude-code', 'cursor', 'windsurf', 'coinbase-agentkit', 'elizaos', 'langchain', 'chatgpt', 'gemini', 'custom-agent'). Optional attribution (omitted = 'unspecified'). Lowercase slug only; never include personal names, emails, or secrets."New value: +"Optional identifier of the calling AI agent, IDE, or framework (e.g. 'claude-code', 'cursor', 'windsurf', 'coinbase-agentkit', 'elizaos', 'langchain', 'chatgpt', 'gemini', 'openclaw', 'custom-agent'). Omitted or invalid values never block a call (inferred from known client headers or 'unspecified'). Lowercase slug only; never include personal names, emails, or secrets."
  6. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -242New value: +323
  7. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -152New value: +242
  8. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -98New value: +152
  9. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -94New value: +98
  10. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -90New value: +94
  11. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -86New value: +90
  12. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -82New value: +86
  13. Changed4 schema fields changed
    • changedInput schema / properties / caller_agent / description
      Previous value: -"Identifier of the calling AI agent, IDE, or framework (e.g. 'claude-code', 'cursor', 'windsurf', 'coinbase-agentkit', 'elizaos', 'langchain', 'chatgpt', 'gemini', 'custom-agent'). Required on the free MCP tier. Lowercase slug only; never include personal names, emails, or secrets."New value: +"Identifier of the calling AI agent, IDE, or framework (e.g. 'claude-code', 'cursor', 'windsurf', 'coinbase-agentkit', 'elizaos', 'langchain', 'chatgpt', 'gemini', 'custom-agent'). Optional attribution (omitted = 'unspecified'). Lowercase slug only; never include personal names, emails, or secrets."
    • changedInput schema / properties / caller_purpose / description
      Previous value: -"Operational workflow context for this pre-execution check (closed enum)."New value: +"Optional: operational workflow context for this pre-execution check (closed enum)."
    • changedInput schema / properties / requester_role / description
      Previous value: -"High-level role category of the requester or system running this check (closed enum; no personal data)."New value: +"Optional: high-level role category of the requester or system running this check (closed enum; no personal data)."
    • changedInput schema / required
      Previous value: -[
      -  "caller_agent",
      -  "requester_role",
      -  "caller_purpose"
      -]New value: +[]
  14. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -78New value: +82
  15. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -74New value: +78
  16. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -70New value: +74
  17. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -66New value: +70
  18. Changed1 schema field changed
    • changedInput schema / properties / limit / maximum
      Previous value: -61New value: +66
  19. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, and the description adds material context beyond them: lookups are 'answered in memory (no RPC)' so there is no network latency or chain dependency, and the service is 'Free in every pricing mode'. It also discloses data provenance by distinguishing 'Base-EAS-attested vs RPC-observed only' evidence, which tells the agent how much to trust a classification result.

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?

Two sentences, front-loaded with the verb and resource before the return-field enumeration, with no filler or marketing padding. The middle clause is densely packed with five return values at once, which is efficient but slightly hard to parse in a single read.

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?

There is no output schema, so the description must enumerate return values, and it does: slug, URL, contract, controller, classification, evidence basis, and preflightArgs shape. Combined with the dataset scale ('316 protocols + 17 briefs') and the in-memory/no-RPC note, an agent has enough to call this correctly and interpret the result.

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?

Schema description coverage is 100% with four enums, so the schema already carries the parameter burden and the baseline of 3 applies. The description implies the query accepts names and token symbols, but adds no syntax or filtering detail beyond what the schema's own 'query', 'kind', 'chain' and 'limit' descriptions provide.

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 ('Resolve') and resource ('protocol or token name to Pacta's verified record'), then enumerates the returned fields: canonical slug, page URL, checksummed contract/controller, classification with evidence basis, and preflightArgs. It also names the downstream sibling pacta_check_preflight, so the agent can place it in a chain without opening another schema.

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 makes the use case clear by stating it produces 'ready-to-use preflightArgs {chain, address} for pacta_check_preflight', which implies this is the resolution step before a preflight check. It adds cost context ('Free in every pricing mode') that informs when to call it liberally. It stops short of explicit exclusions, such as when to skip it and call a scan tool directly, so it is not a full when/when-not statement.

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.