Skip to main content
Glama

Next task for Muse

next_task_for_muse
Idempotent

For the referencesource Muse connector only (bearer token required). Returns the oldest open task from the studio's queue: id, instructions, the sites the task may read, the output format expected, and where to deliver the result. Returns {no_tasks: true} when the queue is empty. login_allowed lists the hosts where the task may sign in, with a credential already in Muse's own store; empty means read-only, never sign in. ALWAYS pass already_submitted: the ids of every task you have submitted a result for in the last 14 days (your own skip list). This server keeps no memory between calls, so that list is the only thing that reliably stops it handing a finished task back to you; with it, each call returns the next task you have not done. Pass skip with the id of any task your own safety check refused, so the rest of the queue is still served. Approved email replies are a separate kind and are served only when sends is true; make that the last call of a run.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "next_task_for_muse"
  }
}

Input Schema

NameRequiredDescriptionDefault
skipNoTask ids to leave out without a result: a task your own safety check refused, or one you could not read. Send the whole list on every call.
sendsNofalse or absent: every kind of task except an approved email reply. true: only approved email replies (id begins send-). Make the true call last in a run, after the mail watch and the replies for Joe.
mac_chromeNoCan THIS run use the Chrome on Joe's Mac through your extension? true only in a run started by a message typed on that Mac (Joe in chat there, or the doorbell sentence). false in a scheduled run on your cloud machine. With false, tasks that need a signed-in session in that Chrome are held back for a run that can do them instead of being handed to one that can only report blocked. With true, tasks whose browser is chrome are served first. Leave it out only if you cannot tell.
already_submittedNoTask ids you have already submitted a result for. They are skipped. Send your whole recent skip list on every call.

Output Schema

NameRequiredDescriptionDefault
taskNo
no_tasksYes
sends_waitingNoHow many approved email replies are waiting for a call with sends true.
queue_generatedNo
held_for_mac_chromeNoWith no_tasks true: how many tasks are waiting for a run that can use the Chrome on Joe's Mac.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / sends
      Added value: +{
      +  "description": "false or absent: every kind of task except an approved email reply. true: only approved email replies (id begins send-). Make the true call last in a run, after the mail watch and the replies for Joe.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / skip
      Added value: +{
      +  "description": "Task ids to leave out without a result: a task your own safety check refused, or one you could not read. Send the whole list on every call.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 200,
      +  "type": "array"
      +}
    • addedOutput schema / properties / sends_waiting
      Added value: +{
      +  "description": "How many approved email replies are waiting for a call with sends true.",
      +  "type": "number"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / mac_chrome
      Added value: +{
      +  "description": "Can THIS run use the Chrome on Joe's Mac through your extension? true only in a run started by a message typed on that Mac (Joe in chat there, or the doorbell sentence). false in a scheduled run on your cloud machine. With false, tasks that need a signed-in session in that Chrome are held back for a run that can do them instead of being handed to one that can only report blocked. With true, tasks whose browser is chrome are served first. Leave it out only if you cannot tell.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / held_for_mac_chrome
      Added value: +{
      +  "description": "With no_tasks true: how many tasks are waiting for a run that can use the Chrome on Joe's Mac.",
      +  "type": "number"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / task / properties / browser
      Added value: +{
      +  "description": "cloud: your own browser (the default). chrome: the Chrome on Joe's Mac, Field Agent profile only, for a form behind a granted sign-in or a test of our own pages.",
      +  "enum": [
      +    "cloud",
      +    "chrome"
      +  ],
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / already_submitted
      Added value: +{
      +  "description": "Task ids you have already submitted a result for. They are skipped. Send your whole recent skip list on every call.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 200,
      +  "type": "array"
      +}
  5. Changed2 schema fields changed
    • addedOutput schema / properties / task / properties / login_allowed
      Added value: +{
      +  "description": "Hosts where this task may sign in, with a credential already in Muse's own store. Empty: read-only, never sign in.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / task / required
      Previous value: -[
      -  "id",
      -  "instructions",
      -  "allowed_sites",
      -  "output_format",
      -  "deliver_to",
      -  "created_at"
      -]New value: +[
      +  "id",
      +  "instructions",
      +  "allowed_sites",
      +  "output_format",
      +  "login_allowed",
      +  "deliver_to",
      +  "created_at"
      +]
  6. Added

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Adds substantial context beyond the annotations: bearer token requirement, the fact that the server keeps no state between calls (which is why the caller must carry its own skip list), the empty-queue sentinel {no_tasks: true}, and the read-only implication of an empty login_allowed. These are behavioral facts an agent could not derive from readOnlyHint/idempotentHint alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core behavior, empty-case, and the safety-critical already_submitted instruction before secondary guidance. It is dense but somewhat long, and the closing sentences on skip and sends largely restate the schema parameter descriptions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers what a caller needs for a stateful-but-memoryless queue poller: auth, empty queue, return contents, skip-list discipline, flag semantics, and call ordering. With an output schema present, it correctly avoids re-explaining response structure in depth.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3; the description goes further by supplying the 14-day window for already_submitted and the sequencing rule for sends that the schema does not state. It adds less on mac_chrome and skip, which the schema already explains in comparable detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Returns the oldest open task from the studio's queue') and enumerates what comes back (id, instructions, readable sites, output format, delivery target). The 'referencesource Muse connector only' scoping plus the explicit empty-queue return value make it unmistakable against siblings like submit_task_result or working_brief_for_muse.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete when-to-use rules: always pass already_submitted with a 14-day history, pass skip for tasks refused by a safety check, and call with sends=true only as the last call of a run. It also states that approved email replies are a separate kind served only under that flag, so ordering and exclusions are explicit rather than inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.