← All MCP tools

Check budget

check_budget
Read-only

What it does

Check a task's remaining budget WITHOUT opening a run — call it mid-task to decide whether to keep going. Returns the tool-call and minute caps, cumulative usage across all runs, remaining, and over_budget. When over_budget is true, stop and hand back to a human rather than burning more; start_run will refuse anyway.

Parameters

NameTypeRequiredDescription
idstringRequired

Task id

Annotations

The hints the server sends with this tool. A host reads them to decide whether to ask you before a call.

Read-onlyreadOnlyHint: true
Changes nothing.
DestructivedestructiveHint: false
Only adds or reads; nothing already there is removed or overwritten.
IdempotentidempotentHint: —
Doesn't apply: the tool changes nothing.
Open worldopenWorldHint: false
Touches only your own Done account.

Which tokens can call it

A connection made with OAuth has full access. A token from Settings → Agent access → Extra MCP tokens can be narrowed, and a narrowed token never sees beyond its project or workspace.

  • Full accessAllowed
  • Read-only tokenAllowed
  • Single-project tokenAllowed
  • Single-workspace tokenAllowed

Try it

With Done connected, ask your assistant something like:

“Check how much budget the scraping task has left before you carry on.”

Connect Done to your assistant

One MCP endpoint per account, over OAuth or a token. Step-by-step setup for each client:

MCP setup overview →