Docs

DocsAI assistants

MCP tools reference

Every tool your assistant gets from the Idea Bucket MCP server, plus two REST endpoints.

On this page

You don't need this page to use a connector: the assistant picks tools itself. It's for knowing what an assistant can see, or building your own client. To connect, see Connect your AI.

Tools

Tool What it does
list_workspaces Your workspaces: the ids every other tool needs
search_ideas Search by meaning and keywords, like Find
list_recent_ideas Newest ideas, optionally one tag or the archive
get_idea One idea with its notes thread
list_tags Every tag with counts and colors
get_tag_context A project tag in one call: summary, shipped, open, changelog
add_idea Save a new idea (inline #tags become tags)
update_idea Change text or tags, archive or restore
add_note Add a Markdown note, signed with the assistant's name
edit_note Edit a note this assistant wrote
dispatch_to_agent Send an idea to Grok Bot, when you ask
execute Send an idea to Idea Executor, after you confirm

No tool deletes anything, and trashed ideas are never shown.

Workspaces

Every tool except list_workspaces takes a required workspace argument: the id of one of your workspaces, as list_workspaces returns it. Ideas, notes and tags belong to one workspace, and each call acts in the one it names, so a single session can work on different workspaces call by call. The parameter tables below leave workspace out; every one of these tools needs it. tools/list shows workspace as required in every tool's schema.

A call with no workspace, or one that isn't yours, fails with a plain-text error and does nothing (nothing is read or written):

Missing workspace. Every tool needs a "workspace" argument: the id of one of your workspaces. Call list_workspaces to see them. Nothing was done.
Unknown workspace "x". Call list_workspaces to see your workspaces and pass the id of one of them. Nothing was done.
Connectors and keys made before workspaces

OAuth connectors (Claude, ChatGPT, Gemini, Grok) and access keys created before this shipped send no workspace and keep working without one, as they always did (the database then uses Personal). If one of them sends a workspace, it is honoured, and checked like any other. Connectors and keys created after must send it. A connector counts as older when its OAuth client was registered before the cutoff date; a key, when it was created before it.

list_workspaces

Takes no arguments. Returns your workspaces, in order: [{ "id": "personal", "name": "Personal", "position": 0 }].

How tools answer
  • Server: https://ideabucket.app/mcp (MCP over Streamable HTTP). Sign in with OAuth, or send an access key as Authorization: Bearer ib_….
  • Every tool works with your own ideas, plus ideas in tags shared with you. Those come with shared: true and the author's name; an assistant can read them and add notes, but update_idea, dispatch_to_agent and execute work only on your own.
  • Success returns one text block of JSON. Failure returns a short plain-text error, like No idea found with id ….
  • Tags go without #; a leading # is removed and tags are lowercased. New tags are single words of letters, numbers, - and _.
  • Ids are UUIDs from the other tools. Dates are ISO 8601.

Ideas in results usually have: id, content (text without tags), tags, created_at, archived, archived_by (archived only: you, assistant or automation), and in lists has_notes and, where known, notes_count.

Usage limits

Allowance Free Pro and Team Used by
Search and indexing 600 an hour 600 an hour search_ideas, add_idea, update_idea (when the text changes), POST /mcp/drop
Tag summaries 10 a day 60 an hour get_tag_context, only when it writes a new summary

These are shared with the app. Over the limit: Hourly limit reached for search and indexing, try again later (Daily for a daily allowance). See Plans and Limits.

Tool details

search_ideas — parameters and result

Searches active ideas (notes included), best matches first.

Parameter Type Default Limits
query (required) string 1 to 1000 characters
tags array of strings Up to 20; ideas must carry all
limit integer 10 1 to 50
archived boolean false true searches the archive instead

Returns mode (semantic, or keyword when meaning search isn't available), count and ideas, each with a score.

json
{
  "mode": "semantic",
  "count": 1,
  "ideas": [
    {
      "id": "7c0e5a52-4f1e-4d0a-9a51-2b7f0c3d9e10",
      "content": "Interview a beekeeper for the next episode",
      "tags": ["podcast"],
      "created_at": "2026-09-14T08:12:44.000Z",
      "archived": false,
      "has_notes": true,
      "score": 0.734
    }
  ]
}
list_recent_ideas — parameters and result

Newest first. With archived: true, the archive, most recently archived first.

Parameter Type Default Limits
limit integer 10 1 to 50
tag string One tag, without #
archived boolean false true lists the archive
json
{
  "count": 1,
  "ideas": [
    {
      "id": "1d2b3c4d-5e6f-4a1b-8c9d-0e1f2a3b4c5d",
      "content": "Plant garlic along the south fence",
      "tags": ["garden"],
      "created_at": "2026-09-30T17:05:10.000Z",
      "archived": false,
      "has_notes": false,
      "notes_count": 0
    }
  ]
}
get_idea — parameters and result

One idea by id (required, UUID), archived or not, with notes oldest first. Counts as opening it, for "hasn't been opened" automations.

Note field Meaning
id The note's id, for edit_note
body Markdown
author you, or the assistant's (or access key's) name. Automations may sign notes too.
author_kind user or assistant
created_at, updated_at Written and last changed
edited Changed after it was written
yours The calling assistant wrote it, so it may edit it

If the idea was sent to a coding agent, agent_runs lists those runs, newest first: status is awaiting, queued, running, done (with the agent's run_uuid), failed (with error) or skipped (with reason); decided_by is you or assistant:<name>.

json
{
  "id": "7c0e5a52-4f1e-4d0a-9a51-2b7f0c3d9e10",
  "content": "Interview a beekeeper for the next episode",
  "tags": ["podcast"],
  "created_at": "2026-09-14T08:12:44.000Z",
  "archived": false,
  "notes_count": 1,
  "notes": [
    {
      "id": "b8f1c2d3-4e5f-4a6b-9c7d-8e9f0a1b2c3d",
      "body": "Shortlist: two local keepers. Ask about winter losses.",
      "author": "Claude",
      "author_kind": "assistant",
      "created_at": "2026-09-15T10:00:00.000Z",
      "updated_at": "2026-09-15T10:00:00.000Z",
      "edited": false,
      "yours": true
    }
  ]
}
list_tags — result

Only workspace. Tags most used first, with your color if any: one of the 16 tag colors, such as violet, sky or slate. ideas is active ideas, archived_ideas archived ones; per tag, open counts active ideas. Tags whose ideas are all archived are often finished projects. Counts are your own ideas only; a tag you share with others carries "shared": true.

json
{
  "ideas": 182,
  "archived_ideas": 64,
  "count": 2,
  "tags": [
    { "tag": "podcast", "open": 21, "archived": 9, "total": 30, "color": "violet", "shared": true },
    { "tag": "garden", "open": 12, "archived": 3, "total": 15 }
  ]
}
get_tag_context — parameters, statuses, summary and result

Everything about one tag as a project: what it is, what shipped, what's open, recent activity, related tags. Archived ideas are its changelog. Read-only apart from caching the summary. Fails with No ideas carry #<tag> if none do.

Parameter Type Default Limits
tag (required) string 1 to 101 characters, without #
limit integer 12 1 to 30 items in recent, changelog and open
refresh boolean false true writes a new summary even if the saved one is current

Statuses: open (not archived), done (archived with a likely done marker), closed (archived without one: shipped or dropped).

Likely done markers: no tag means "done" by default, not even #done. A tag is one when an enabled automation archives ideas that get it (On #shipped → Archive), or when, across your bucket, at least 3 ideas carry it, at least 80% of them are archived, and that's at least 25 percentage points above the archive rate of your other tags. Only markers on this tag's ideas are reported; nothing is written back; markers are left out of related_tags.

Summary: what_it_is plus shipped, open, themes and open_questions (up to 6 items each, with text and ids).

  • Written by AI from the newest 80 ideas and their latest notes (source: "ai", with generated_at and model). Tags with 2 ideas or fewer get a template (source: "template"), which doesn't count toward the allowance.
  • Cached (cached: true) until the tag's ideas change (added, edited, archived, restored, noted, trashed) or the markers change. refresh: true forces a new one.
  • If a new one can't be written (say, over the limit), the rest still returns with summary_error, plus the last summary marked stale: true, or summary: null.
Field Meaning
counts total, open, archived, done, closed
first_activity, last_activity First idea dropped, latest change
recent Latest changes: id, title, status, at, why (new, edited, new note, archived or shipped)
changelog Archived ideas, newest first: total and items (id, title, archived_at, archived_by, status, markers)
open Active ideas: total and items (id, title, other tags, last_change, notes_count)
related_tags Up to 8 co-occurring tags: together and, where known, ideas, archived, open
likely_done_markers Each marker's tag and evidence
agent_runs Up to 10 recent coding-agent hand-offs, as in get_idea
truncated Only over 5000 ideas: lists cover the newest 5000
more Suggested follow-up calls
json
{
  "tag": "podcast",
  "counts": { "total": 30, "open": 21, "archived": 9, "done": 6, "closed": 3 },
  "first_activity": "2026-03-02T09:00:00.000Z",
  "last_activity": "2026-09-30T18:20:00.000Z",
  "summary": {
    "what_it_is": "A weekly interview podcast about local food.",
    "shipped": [{ "text": "Season one recorded and released.", "ids": ["3f6a…"] }],
    "open": [{ "text": "Book guests for season two.", "ids": ["7c0e…"] }],
    "themes": [],
    "open_questions": [],
    "source": "ai",
    "cached": true,
    "generated_at": "2026-09-30T18:21:05.000Z",
    "model": "…"
  },
  "recent": [
    { "id": "7c0e…", "title": "Interview a beekeeper for the next episode", "status": "open", "at": "2026-09-30T18:20:00.000Z", "why": "new note" }
  ],
  "changelog": { "total": 9, "items": [ { "id": "3f6a…", "title": "Release season one", "archived_at": "2026-08-01T12:00:00.000Z", "archived_by": "you", "status": "done", "markers": ["shipped"] } ] },
  "open": { "total": 21, "items": [ { "id": "7c0e…", "title": "Interview a beekeeper for the next episode", "tags": [], "last_change": "2026-09-30T18:20:00.000Z", "notes_count": 1 } ] },
  "related_tags": [{ "tag": "garden", "together": 2, "ideas": 15, "archived": 3, "open": 12 }],
  "likely_done_markers": [{ "tag": "shipped", "evidence": "14 of 15 ideas with #shipped are archived (22% of ideas with other tags)" }],
  "more": { "archived": "list_recent_ideas({\"tag\": \"podcast\", \"archived\": true, \"limit\": 50})", "…": "…" }
}
add_idea — parameters and result

Assistants are told to use it only when you ask to save something.

Parameter Type Limits
content (required) string 1 to 10,000 characters, with some text besides tags
tags array of strings Up to 20 extra tags, without #
json
{
  "saved": true,
  "idea": {
    "id": "1d2b3c4d-5e6f-4a1b-8c9d-0e1f2a3b4c5d",
    "content": "Plant garlic along the south fence",
    "tags": ["garden"],
    "created_at": "2026-09-30T17:05:10.000Z",
    "archived": false
  }
}
update_idea — parameters and result

Only when you ask. Pass id (required) and at least one of:

Parameter Type Limits
content string 1 to 10,000 characters; inline #hashtags are added as tags, and a &schedule such as &tomorrow or &fri/14:30 sets the idea's time window (UTC; a label only)
add_tags array of strings Up to 20; other tags kept
remove_tags array of strings Up to 20; other tags kept
archived boolean true archives (marked as by an assistant), false restores

A tag can't be in both lists. Returns updated (false if nothing changed), the idea, and tag_changes (added, removed, not_found).

json
{
  "updated": true,
  "idea": {
    "id": "1d2b3c4d-5e6f-4a1b-8c9d-0e1f2a3b4c5d",
    "content": "Plant garlic along the south fence",
    "tags": ["garden", "autumn"],
    "created_at": "2026-09-30T17:05:10.000Z",
    "archived": false,
    "has_notes": false,
    "notes_count": 0
  },
  "tag_changes": { "added": ["autumn"], "removed": [], "not_found": [] }
}
add_note — parameters and result

A short Markdown summary of decisions, next steps or links, signed with the assistant's (or key's) name. Assistants are asked to read notes with get_idea first and add one note per conversation or topic.

Parameter Type Limits
idea_id (required) string (UUID)
body (required) string 1 to 20,000 characters, Markdown
json
{
  "saved": true,
  "note": {
    "id": "b8f1c2d3-4e5f-4a6b-9c7d-8e9f0a1b2c3d",
    "body": "Shortlist: two local keepers. Ask about winter losses.",
    "author": "Claude",
    "author_kind": "assistant",
    "created_at": "2026-09-15T10:00:00.000Z",
    "updated_at": "2026-09-15T10:00:00.000Z",
    "edited": false,
    "yours": true
  }
}
edit_note — parameters and result

Replaces a note the same assistant wrote (yours: true). "Same" means the same connection: the same signed-in app, or the same access key.

Parameter Type Limits
note_id (required) string (UUID) A note this assistant wrote
body (required) string 1 to 20,000 characters, the full new Markdown

Returns updated (false if unchanged) and the note, as in add_note.

dispatch_to_agent — parameters and result

Sends an idea to Grok Bot through a Dispatch Grok Bot automation, only when you explicitly ask. It approves on your behalf, signed with the assistant's name. See Grok Bot dispatch.

Parameter Type Limits
idea_id (required) string (UUID)
rule_id string (UUID) Which rule, when several are on
  • No rule on: it fails and says to set one up under Automations.
  • Several on and no rule_id: nothing is sent; it returns the rules (rule_id, tag, start of the instruction).
  • One dispatch per idea and rule. A failed one can be Retry'd in the app.
json
{
  "dispatched": true,
  "status": "queued",
  "run_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
  "rule": { "id": "0f1e2d3c-4b5a-4968-8776-655443322110", "tag": "build" },
  "decided_by": "assistant:Claude",
  "message": "Sent to the agent. In a few seconds get_idea shows the run_uuid and a \"Sent to Grok Bot\" note; the agent reports back with notes and tags."
}

status: queued, running, done (sent earlier), failed (an earlier dispatch failed) or skipped.

execute — parameters and result

Sends an idea to Idea Executor, the same as the Execute button, only when you explicitly ask. It returns at once and does not wait for the run; follow it with get_idea.

Parameter Type Limits
idea_id (required) string (UUID) One of your own ideas
confirmed boolean Must be true to send
  • Every idea needs a confirmation: without confirmed: true nothing is sent and the tool returns confirmation_required with the idea's text. Ask, then call again with confirmed: true.
  • A teammate's shared idea, a missing idea, or one Executor already has in progress fails with a clear error.
json
{
  "sent": true,
  "status": { "stage": "queued", "label": "Sent to Executor", "at": "2026-01-01T00:00:00.000Z" },
  "message": "Sent to Executor. Executor picks it up on its own; get_idea shows its status."
}

Idea Executor routes

Idea Executor pulls from these routes with an access key named "Idea Executor" (Authorization: Bearer ib_…), under /functions/v1/mcp/executor.

Route What it does
GET /pending Ideas sent with Execute that Executor hasn't taken (or that changed since)
POST /ack {"ids": […]} Executor took these ideas
POST /status Where an idea, or a whole bundle, is (the badge on the card)

Bundles. In Select mode you pick two or more of your ideas and send them as one combined job. Each idea in a bundle in GET /pending also has bundle_id and bundle_idea_ids (every idea id in the bundle, the idea itself included). Treat all ideas that share a bundle_id as ONE job. A single idea has neither field.

json
{
  "ideas": [
    { "id": "…a", "content": "…", "bundle_id": "…b1", "bundle_idea_ids": ["…a", "…c"], "requested_at": "…" },
    { "id": "…c", "content": "…", "bundle_id": "…b1", "bundle_idea_ids": ["…a", "…c"], "requested_at": "…" },
    { "id": "…d", "content": "…", "requested_at": "…" }
  ]
}

POST /ack still takes idea ids: ack every idea of the bundle you took.

POST /status takes stage, label and at (and optionally detail, url, task_ids, progress) plus either id (one idea) or bundle_id (the same status on every idea of that bundle; a status older than an idea's current one is skipped for that idea). It answers {"applied": true} for an idea, {"applied": true, "ideas": 3} for a bundle (how many ideas took it), 404 not_found for an unknown idea or bundle, and 400 if both or neither of id and bundle_id are sent. Cards in a bundle all show the same badge, with the number of ideas in the bundle.

REST endpoints

Two plain HTTP endpoints for scripts and shortcuts. They take an access key only.

Endpoint What it does
POST /mcp/drop Drop an idea, as if you'd typed it. Returns 201 and { "id": … }
GET /mcp/random One random active idea, or null
bash
curl -X POST https://ideabucket.app/mcp/drop \
  -H "Authorization: Bearer ib_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"content": "Try a cold-brew stall at the market #garden"}'
POST /mcp/drop fields
Field Type Notes
content (required) string Up to 10,000 characters, with some text besides tags
source object Where it came from: app (required, up to 100), bundle_id (up to 200), url (up to 2000, http:// or https://), title (up to 300, kept only with a url). Other fields are refused.
json
{
  "content": "Read this later #reading",
  "source": { "app": "Safari", "url": "https://example.com/article", "title": "An article" }
}
GET /mcp/random example
bash
curl https://ideabucket.app/mcp/random \
  -H "Authorization: Bearer ib_your_key_here"
json
{
  "idea": {
    "id": "7c0e5a52-4f1e-4d0a-9a51-2b7f0c3d9e10",
    "content": "Interview a beekeeper for the next episode",
    "tags": ["podcast"],
    "created_at": "2026-09-14T08:12:44.000Z"
  }
}

It never returns archived or trashed ideas.

Errors

Errors are JSON with an error message.

Status When Example body
400 Not JSON, no content, too long or only tags, or a bad source {"error": "content is required."}
401 Missing, unknown or revoked key {"error": "invalid_key"}
405 Wrong method {"error": "method_not_allowed"}
429 Over the search and indexing allowance (drop only) {"error": "Hourly limit reached for search and indexing, try again later"}
500 Saving or loading failed; try again {"error": "Could not save the idea. Please try again."}