Server has 8 tools with consistent verb-noun naming and complete input schemas. All tools are READ_ONLY and focused on Farcaster data retrieval. However, descriptions are brief (typically 8-12 words), parameter descriptions are minimal, and output schemas are not documented. No error handling guidance, no pagination support despite limits up to 100, and no tool annotations. Schemas are present with proper typing but lack documentation of the returned object structures.
Tools (8)
get_cast_by_hashread only50/100
Get a specific cast by its hash
get_cast_repliesread only50/100
Get replies to a specific cast
get_casts_by_fidread only50/100
Get casts from a specific user on Farcaster by their FID (Farcaster ID)
get_casts_by_usernameread only50/100
Get casts from a specific user on Farcaster by their username
get_fid_by_usernameread only50/100
Get the FID (Farcaster ID) for a user by their username
get_trending_castsread only50/100
Get trending casts from Farcaster
get_user_inforead only50/100
Get user information for a specific Farcaster user by FID
Tool descriptions are extremely brief (8-15 words), below the 50-character baseline and lacking WHEN to use and context for LLM tool selection. Examples: 'Get casts from a specific user on Farcaster by their FID' lacks depth about alternatives (get_casts_by_username), prerequisites, or what data is returned.
Output schemas are not documented. No visible documentation of what fields are returned by any tool (e.g., does get_casts_by_fid return {casts: [...], total: N, next_cursor: ...} or flat array?). LLMs cannot plan downstream calls or extract needed fields without knowing response structure.
Expand each tool description to 50-150 characters. Include WHEN to use it, how it differs from related tools (e.g., get_casts_by_fid vs get_casts_by_username), and what data structure is returned. Example: 'Get up to 100 recent casts from a user by their Farcaster ID. Use when you know the numeric FID; use get_casts_by_username if you only have a display name. Returns array of cast objects with hash, text, timestamp, and author.'
Document output schemas for all tools. Create a schema comment block for each showing returned fields, types, and examples. Example for get_user_info: {fid: number, username: string, displayName: string, pfpUrl?: string, bio?: string, followerCount: number}.
Add pagination support. For tools accepting limit, return cursor-based pagination: {results: [...], total_count: N, next_cursor: 'xyz'} or {results: [...], has_more: boolean}. Update descriptions to explain pagination.
Enhance parameter descriptions with constraints and examples. For 'timeWindow', document valid values: '1h, 24h, 7d, 30d' as an enum or pattern. For 'limit', state: 'Number of results to return (1 - 100, default 10).'
Add error handling documentation in server setup or per-tool notes. Specify common errors: 'User not found (404)', 'Invalid FID (400, retry with search)', 'Rate limited (429, exponential backoff)', and recovery paths.
Implement tool annotations. Wrap tool definitions with readOnlyHint: true for all tools to signal to agents that retries are safe. Example: { name: 'get_casts_by_fid', description: '...', inputSchema: {...}, annotations: { readOnlyHint: true, idempotentHint: true } }.
No pagination support despite accepting 'limit' up to 100. Tools like get_casts_by_fid accept limit but provide no cursor, offset, or total_count in documented response. Large result sets will bloat context and degrade LLM reasoning. No guidance on handling truncated results.
Parameter descriptions are minimal or missing. 'limit' is described as 'Maximum number of casts to return (default: 10, max: 100)' but no guidance on when to use what limit, whether the tool will return fewer results, or how to handle pagination. 'timeWindow' in get_trending_casts lacks examples of valid values beyond the default.
No error handling guidance. Source code shows error responses (e.g., 'Hubble API error: 404 - ...') but no documentation of what errors are possible, whether they are retryable, or what the LLM should do next. Raw HTTP status codes are not actionable.
No tool annotations present. Tools lack readOnlyHint, destructiveHint, or idempotentHint. While all tools are READ_ONLY and safe to retry, explicit annotations would enable better agent planning and auditing per current MCP spec (2026-07-28).
Parameter naming lacks type suffixes. Examples: 'fid' (numeric ID) should be clarified; 'username' is clear but 'castHash' uses camelCase inconsistently with snake_case elsewhere. No distinction between 'fid' (system ID) vs human-readable alternatives forces LLMs to know Farcaster internals.
Standardize parameter naming. Use snake_case consistently (fid, cast_hash not castHash). Add type suffixes where helpful: fid (numeric ID), username (string), cast_hash (string). Consider dual parameter support for lookups: get_casts(fid?: number, username?: string) instead of separate tools.
Cap default result counts. Reduce default limit from 10 to 5-10 and enforce max 50 (not 100) to prevent context bloat. Update descriptions to state the cap.
Add missing descriptions to the timeWindow parameter enum. Document what 1h, 24h, 7d mean and whether custom windows are allowed.
Consider adding a resolve_fid tool that accepts username and returns FID, reducing the need for get_fid_by_username as a separate tool. This simplifies the interface and enables single-step lookups.