Bug Description
The MCP server registers two tools with the same name schedule_post, which violates the MCP protocol requirement that tool names must be unique.
This causes the following error when used with Claude Code (or any MCP client that validates tool name uniqueness):
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"tools: Tool names must be unique."}}
Duplicate Definitions
-
First schedule_post (basic version) — "Schedule a post to be published at a future time"
- Parameters:
text, scheduled_publish_time, media_type, media_url, reply_control, location_name
-
Second schedule_post (advanced version) — "Schedule posts with advanced automation and optimal timing"
- Parameters:
text, media_url, schedule_time, automation_settings, timezone
Suggestion
Rename the second (advanced) tool to schedule_post_advanced (or similar) to avoid the name collision while preserving both functionalities.
Environment
- threads-mcp-server v5.1.0
- Claude Code CLI
- macOS
Bug Description
The MCP server registers two tools with the same name
schedule_post, which violates the MCP protocol requirement that tool names must be unique.This causes the following error when used with Claude Code (or any MCP client that validates tool name uniqueness):
Duplicate Definitions
First
schedule_post(basic version) — "Schedule a post to be published at a future time"text,scheduled_publish_time,media_type,media_url,reply_control,location_nameSecond
schedule_post(advanced version) — "Schedule posts with advanced automation and optimal timing"text,media_url,schedule_time,automation_settings,timezoneSuggestion
Rename the second (advanced) tool to
schedule_post_advanced(or similar) to avoid the name collision while preserving both functionalities.Environment