{"serverId":"mcp-registry/app.codaphone/mcp","tools":[{"name":"add_contacts","fixed":{"name":"add_contacts","description":"Add a contact to the account. Provide the phone number (msisdn) and optionally a name, a list_id to file it under, and an opt_in_source note. Adds one contact per call. Requires the 'contacts' scope.","inputSchema":{"type":"object","required":["msisdn"],"properties":{"name":{"type":"string","description":"Contact name."},"msisdn":{"type":"string","description":"Contact phone number, e.g. +14155550100."},"list_id":{"type":"string","description":"Optional list to add the contact to."},"opt_in_source":{"type":"string","description":"How the contact opted in (record-keeping)."}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":181,"tokensAfter":181},{"name":"create_campaign","fixed":{"name":"create_campaign","description":"Create a new bulk-messaging campaign with a name and an optional base message. After creating, use run_campaign to generate variations, set the audience, schedule, and launch it. Requires the 'campaigns' scope.","inputSchema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Campaign name."},"base_message":{"type":"string","description":"The base message text (optional; can be set later)."}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":141,"tokensAfter":141},{"name":"get_account","fixed":{"name":"get_account","description":"Get the current CodaPhone account: its name and mode (live/test), the active number (if any), the current plan and its monthly/daily send caps, usage so far, and remaining automation credits. Requires the 'read' scope.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":93,"tokensAfter":93},{"name":"get_campaign","fixed":{"name":"get_campaign","description":"Get one campaign by id, including its base message, audience, schedule, pacing, and send/failed/skipped counts. Requires the 'read' scope.","inputSchema":{"type":"object","required":["campaign_id"],"properties":{"campaign_id":{"type":"string","description":"The campaign id."}},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":97,"tokensAfter":97},{"name":"get_message_status","fixed":{"name":"get_message_status","description":"Get one message by id, including its delivery status, direction, body, segment count, and timestamp. Requires the 'read' scope.","inputSchema":{"type":"object","required":["message_id"],"properties":{"message_id":{"type":"string","description":"The message id."}},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":94,"tokensAfter":94},{"name":"get_thread","fixed":{"name":"get_thread","description":"Get one conversation thread by id together with its messages. Requires the 'read' scope.","inputSchema":{"type":"object","required":["thread_id"],"properties":{"thread_id":{"type":"string","description":"The thread id."}},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":80,"tokensAfter":80},{"name":"list_campaigns","fixed":{"name":"list_campaigns","description":"List the account's bulk-messaging campaigns with their status and progress counts, plus the remaining automation credit balance. Requires the 'read' scope.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":77,"tokensAfter":77},{"name":"list_contacts","fixed":{"name":"list_contacts","description":"List the account's contacts with opt-in status and timezone. Optionally filter by a search term or a list id, choose a sort, and paginate with limit/offset. Requires the 'read' scope.","inputSchema":{"type":"object","properties":{"sort":{"type":"string","description":"Sort order, e.g. recent or name (default recent)."},"limit":{"type":"integer","description":"Max contacts to return (default 500)."},"offset":{"type":"integer","description":"Number of contacts to skip (default 0)."},"search":{"type":"string","description":"Filter by name or number."},"list_id":{"type":"string","description":"Only contacts in this list."}},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":194,"tokensAfter":194},{"name":"list_threads","fixed":{"name":"list_threads","description":"List the account's conversation threads (the inbox), most recent first, with unread counts and last-message previews. Supports limit/offset pagination. Requires the 'read' scope.","inputSchema":{"type":"object","properties":{"limit":{"type":"integer","description":"Max threads to return (default 50)."},"offset":{"type":"integer","description":"Number of threads to skip (default 0)."}},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":127,"tokensAfter":127},{"name":"mark_thread_read","fixed":{"name":"mark_thread_read","description":"Mark a conversation thread as read (clears its unread count) and return the account's new total inbox unread count. Requires the 'read' scope.","inputSchema":{"type":"object","required":["thread_id"],"properties":{"thread_id":{"type":"string","description":"The thread id to mark read."}},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":101,"tokensAfter":101},{"name":"run_campaign","fixed":{"name":"run_campaign","description":"Advance a campaign through its lifecycle. Provide the campaign_id and an action:\n  - generate: create message variations (optional base_message, count)\n  - variations: save edited variations (variations: [{body, active}])\n  - audience: set the recipient list (list_id)\n  - schedule: set send time/pacing (schedule_at, pace_seconds, daily_ceiling)\n  - launch: start sending (or start at the scheduled time)\n  - pause / resume / cancel: control a running campaign\nSends honor opt-outs, sending hours, c","inputSchema":{"type":"object","required":["campaign_id","action"],"properties":{"count":{"type":"integer","description":"generate: how many variations."},"action":{"enum":["generate","variations","audience","schedule","launch","pause","resume","cancel"],"type":"string","description":"The lifecycle action to run."},"list_id":{"type":"string","description":"audience: the contact list to send to."},"variations":{"type":"array","items":{"type":"object","properties":{"body":{"type":"string"},"active":{"type":"boolean"}},"additionalProperties":false},"description":"variations: the edited variations to save."},"campaign_id":{"type":"string","description":"The campaign id."},"schedule_at":{"type":"string","description":"schedule: ISO timestamp to start, or null for send-now."},"base_message":{"type":"string","description":"generate: base message to vary from."},"pace_seconds":{"type":"integer","description":"schedule: seconds between sends."},"daily_ceiling":{"type":"integer","description":"schedule: max sends per day (<= plan cap)."}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":451,"tokensAfter":451},{"name":"search_numbers","fixed":{"name":"search_numbers","description":"Search available phone numbers to provision. Optionally filter by country, number kind (local or tollfree), and a 3-digit area code. Returns candidate numbers with a formatted display, city/region, and monthly price. Does not buy anything. Requires the 'numbers' scope.","inputSchema":{"type":"object","properties":{"kind":{"enum":["local","tollfree"],"type":"string","description":"Number type (default local)."},"country":{"type":"string","description":"ISO country code, e.g. US (default US)."},"areaCode":{"type":"string","description":"Preferred 3-digit area code, e.g. 415 (local only)."}},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":185,"tokensAfter":185},{"name":"send_message","fixed":{"name":"send_message","description":"Send an SMS from the account's number. Provide the message 'body', and either 'to' (a recipient phone number, with optional 'name' to save the contact) or an existing 'thread_id' to reply within a conversation. Opted-out contacts are blocked and free-send/plan limits apply automatically. Requires the 'send' scope.","inputSchema":{"type":"object","required":["body"],"properties":{"to":{"type":"string","description":"Recipient phone number, e.g. +14155550100 (omit if using thread_id)."},"body":{"type":"string","description":"The message text to send."},"name":{"type":"string","description":"Optional name to save for a new contact when using 'to'."},"thread_id":{"type":"string","description":"Reply inside this existing conversation instead of 'to'."}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":230,"tokensAfter":230}],"toolsChanged":13,"tokensSaved":0,"todo":[],"note":"Deterministic fixes. Changes marked verify need a human look before shipping (renames, inferred annotations, inferred types, removed text). Parameter descriptions in `todo` need to be written by someone who knows the API."}