Skip to main content
Glama

Get task

get_task
Read-only

Where a task stands: running, needs_input (answer the question with reply), done, or failed. While running, progress names the step in flight (research, skill, ...; null while it thinks or writes the reply), its latest headline, and how many sources research has read. Returns the answer the latest reply ends with (a failed task: all it wrote) with evidence as links and [image card: name] where a card stands, the space the task is in now (null outside any space; a chat can move), the sources it cites, the skills it used, walls (the long lists it put up as stickers before choosing; picks are sticker numbers, first pick first), the brand it was for, the other AI behind a take, steers_taken (messages sent while it ran that the reply took), the documents the task made (id, title, url), its images, video and sound with file urls and the credits each spent, and the image and video cards of the latest reply with their settings and price (made: true when the card already has its picture or clip, so generate would buy another take): run one with generate once your human agrees to the price. turns counts the turns in the chat (what people sent and the replies); read them with thread_from when you pick up a chat you haven't been following. said lists the turns people sent since the seen you passed, with their files, including messages sent while the task ran; by names a teammate or app button that wrote one (typed: what the person wrote with it), and apps like you are left out. Read it before you act. When more came than a page holds, said_from is where thread_from reads the rest. memory: no-memory means the task neither reads nor keeps memory; tell your human once that nothing from it is kept. memory_changed lists the memory lines the reply added, updated or forgot; tell your human. memory_suggestions lists lines waiting for your human's yes; ask them, then answer with answer_memory.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "task_id": "<task_id>"
    },
    "name": "get_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
seenNoThe seen value from your last get_task: leaves out the reply, sources and cards you already read, and media that has not changed. Leave it out to read the cards and their prices again.
task_idYesA task_id, or a chat id from list_space.
all_sourcesNoList every source the task saw (sources_seen counts them), not only those the reply cites.
thread_fromNoRead the chat from this turn (1 is the first; turns counts them): who wrote each turn, when, its text and files, a page at a time; thread_next is where the next page starts. A turn longer than a page comes cut, with chars its full length.
wait_secondsNoHold the call while the task, or once it is done its media, is still going, up to 45 seconds; it returns as soon as that ends. Use it instead of polling fast.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / thread_from
      Added value: +{
      +  "description": "Read the chat from this turn (1 is the first; turns counts them): who wrote each turn, when, its text and files, a page at a time; thread_next is where the next page starts. A turn longer than a page comes cut, with chars its full length.",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With readOnlyHint already declaring safety, the description adds substantial behavioral context: the 45-second wait behavior, how the seen cursor suppresses already-read data, that generate buys another take only after human price agreement, and that memory_suggestions await human approval. These are non-obvious operational traits not captured by annotations.

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

Conciseness2/5

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

The description is a single dense wall of text with long run-on clauses and parenthetical asides. Although most content is relevant, the lack of paragraphing or front-loaded structure makes it hard to scan, and some return-value detail could be trimmed or structured.

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?

There is no output schema and the tool is complex, but the description thoroughly covers status values, progress fields, reply output, pagination, memory semantics, media cards, and pricing. An agent has enough information to invoke it correctly and interpret the result.

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 100%, so the baseline is 3, but the description adds real meaning beyond the schema: it explains what seen omits, that thread_from reads the rest when said overflows a page, and that wait_seconds should replace fast polling. It does not explicitly explain all_sources, keeping it at 4.

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

Purpose4/5

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

The description opens with a specific status model for a task (running, needs_input, done, failed) and then enumerates the data returned: progress, answer, sources, skills, documents, media, and memory. It clearly conveys that this is a read/status tool for a task, though it does not explicitly contrast itself with siblings like list_work or read_roll.

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?

It gives concrete conditional guidance: use wait_seconds instead of polling fast, read said before acting, tell your human about no-memory or memory_suggestions, and answer memory suggestions with answer_memory. It lacks explicit when-not-to-use guidance versus status-listing siblings, which keeps it below a 5.

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.

Resources