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.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
taskNo
no_tasksYes
queue_generatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +]
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations cover safety flags, but the description adds real context beyond them: the bearer-token auth requirement, the empty-queue sentinel, and the crucial login_allowed semantics ('empty means read-only, never sign in'). It does not clarify whether fetching a task claims/removes it from the queue, which leaves the readOnlyHint=false / idempotentHint=true pairing unexplained.

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-loads the access scope and the core action, then packs return fields, empty-state, and credential rules into compact clauses. Slightly dense in the final sentence but every clause carries information an agent needs.

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

Completeness4/5

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

An output schema exists, so return-value detail is a bonus the description supplies anyway. Auth requirements, empty-state handling, and sign-in constraints are all covered; the one omission is whether calling this consumes the task, which matters given the mutation-implying annotations.

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?

Zero parameters, so the schema carries nothing and there is no parameter semantics to add. Baseline 4 applies; the description correctly spends its budget on return-field meaning instead.

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+resource ('Returns the oldest open task from the studio's queue') and scopes it to the referencesource Muse connector, which separates it from siblings like get_record and list_datasets. The enumerated return fields make the tool's contract unambiguous.

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

Usage Guidelines4/5

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

Gives clear usage context: connector-only, bearer token required, and the empty-queue case ({no_tasks: true}). It doesn't explicitly name the alternative/companion tool (submit_task_result) or when to prefer it, so it falls just short of explicit alternatives.

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.