Skip to main content
Glama

chain_farcaster_id

Read-only

Farcaster ID lookup (on-chain) — Look up a Farcaster account straight from the protocol contracts on OP Mainnet: pass fid= (e.g. 3) or address= (custody address) and get the fid, custody address, recovery address, number of active and removed signer (app) keys, whether it can post, and the highest fid issued so far. 404 if not registered. Usernames are off-chain and not included. Price: $0.003 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "fid": "<fid>"
    },
    "name": "chain_farcaster_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
fidYes3

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false), and the description adds genuinely new behavior: the exact fields returned (fid, custody/recovery addresses, active and removed signer key counts, posting capability, highest fid issued), the 404-on-unregistered failure mode, and a per-call price of $0.003 USDC via x402. That payment and error detail is exactly the kind of context annotations cannot express.

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?

One dense, well front-loaded paragraph: identity and data source first, then inputs, then return fields, then failure mode and pricing. Every clause carries information; the only cost is that packing the address alternative into the same sentence as fid blurs which inputs are actually accepted.

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 single-parameter read tool with no output schema, the description is close to sufficient: it enumerates the returned fields, states the error case, and discloses cost and network. The one substantive gap is the fid-vs-address input discrepancy against the schema, which leaves the agent unsure what a valid call looks like.

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 coverage is nominally 100%, but the schema's only parameter description is the useless string "3", so the description does real work by explaining that fid identifies a Farcaster account and giving an example. However, it advertises an "address= (custody address)" input that does not exist in the schema (which requires fid and defines no address property, despite the prose implying either/or), which would mislead an agent constructing a call.

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 ("Farcaster ID lookup (on-chain)") plus its data source (protocol contracts on OP Mainnet), and explicitly separates itself from off-chain username lookups. An agent can distinguish this from sibling chain_* address tools immediately.

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?

Explains how to invoke it (pass fid or a custody address) and gives a concrete example value, plus a scope exclusion (usernames are off-chain and not included) that tells an agent when this tool will not answer the question. It stops short of naming an alternative tool to use for username resolution or for the address-to-fid path, so it is clear context rather than full when/when-not routing.

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.

Resources