Skip to main content
Glama

Get a task

get_task
Read-only

One task: its title, its state, its link, the Builder's question when it is waiting for your answer, and review and deploy. review is where the task's change is reviewed: a pull request on the project's git host, or a change CodeGene keeps, with its state and page. deploy is what that review's preview deploy says now, the same for every code home: a headline, each part's status with its preview link and the page its check links to (inspectUrl), why a part failed, what the preview database did, and notes, the deploy and database notes word for word as the pull request's comments or the change's notes show them. Both are null until the task's branch is under review or has deployed.

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
task_idYesThe task (list_tasks gives ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

The annotations already establish read-only, non-destructive, closed-world access, so the description does not need to restate safety. It adds useful output behavior: review and deploy are null until the branch is under review or deployed, and it explains preview deploy status, failure reasons, database outcome, and verbatim notes. It omits error or permission behavior, but meaningfully extends what the annotations provide.

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

Conciseness3/5

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

The description is front-loaded with 'One task' and avoids obvious filler, but the second sentence is a long, dense chain describing review and deploy internals. The field detail is justified because there is no output schema, yet the phrasing could be more scannable.

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?

With no output schema, the description carries the burden of explaining the returned task and nested review/deploy data, including null timing, and it does so in substantial detail. It omits failure/not-found behavior and usage context, so it is not fully complete.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema fully documents task_id and workspace_id including source hints. The description adds no parameter-level meaning beyond the schema and focuses entirely on returned fields.

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 makes clear that this returns one task and enumerates its title, state, link, Builder question, and review/deploy fields. It never states the retrieval action explicitly and gives no sibling differentiation, so it stops short of a 5.

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

Usage Guidelines2/5

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

The description gives no when-to-use or when-not-to-use guidance and does not mention alternatives such as get_check_results or get_preview_links. The only usage hint for task_id is in the schema, not in the description.

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