Skip to main content
Glama

Start a coding task

start_task

Start a new coding task in a workspace. Sinatra's agent works on the prompt in its own sandbox and answers in the task's conversation. Depending on the prompt, it may push a branch and open a pull request in a connected GitHub repository. Each call starts a separate task unless it repeats an earlier idempotency_key. The task's url is its page in the Sinatra dashboard, where a person can follow it and reply.

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": {
      "workspace_id": "<workspace_id>",
      "prompt": "<prompt>"
    },
    "name": "start_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoNoowner/name of a connected repository. Omit to let the agent choose.
modelNoA model id from Sinatra's catalog, such as anthropic/claude-opus-5-5 or openai-codex/gpt-6.1-sol, for every agent on this task. Omit to use your default or the workspace default.
titleNoA short title; defaults to the prompt's first line.
promptYesWhat to do, as you'd ask a teammate.
workspace_idYesThe workspace id (from whoami).
idempotency_keyNoRetrying with the same key returns the same task instead of starting another.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"A model id from Sinatra's catalog, such as anthropic/claude-opus-5-5 or openai-codex/gpt-6.1-sol, for every agent on this task. Omit to use the repository's or workspace's model."New value: +"A model id from Sinatra's catalog, such as anthropic/claude-opus-5-5 or openai-codex/gpt-6.1-sol, for every agent on this task. Omit to use your default or the workspace default."
  2. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"A model id from Sinatra's catalog, such as anthropic/claude-opus-5-5 or openai-codex/gpt-6.1-sol, for every turn of this task. Omit to use the repository's or workspace's model."New value: +"A model id from Sinatra's catalog, such as anthropic/claude-opus-5-5 or openai-codex/gpt-6.1-sol, for every agent on this task. Omit to use the repository's or workspace's model."
  3. Changed1 schema field changed
    • addedInput schema / properties / model
      Added value: +{
      +  "description": "A model id from Sinatra's catalog, such as anthropic/claude-opus-5-5 or openai-codex/gpt-6.1-sol, for every turn of this task. Omit to use the repository's or workspace's model.",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and openWorldHint=true; the description goes further by disclosing that work happens in the agent's own sandbox, that the call can push a branch and open a PR in an external repository, and that each call spawns a distinct task unless the idempotency key repeats. That key-based dedup note is meaningful given idempotentHint=false. Missing are permission/auth prerequisites and any cost or duration expectations.

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?

Four short sentences, purpose front-loaded, with side effects and idempotency following in a sensible order. The idempotency sentence partly restates what the idempotency_key schema entry already says, which is the only real redundancy.

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?

No output schema exists, and the description covers the key return surface by explaining that the task's url is its dashboard page where a human can follow and reply. It does not say what else the response contains (such as a task id usable with get_task) or how to check progress, leaving a small gap for a task-launching tool.

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%, so all six parameters are already documented in structured form, including idempotency_key's retry semantics. The description reinforces the idempotency behavior and implies the prompt is the work payload, but adds no format or selection guidance beyond the schema (e.g. how repo and model defaults interact). Baseline 3 is appropriate.

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?

Opens with a specific verb and resource ('Start a new coding task in a workspace') and immediately scopes what the task does ('the agent works on the prompt in its own sandbox'). The 'new task per call' framing cleanly separates it from get_task, list_tasks, and stop_task without needing those schemas.

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 context for when this is the right call: a prompt to hand off that may result in a branch and pull request against a connected repo. The idempotency rule ('each call starts a separate task unless it repeats an earlier idempotency_key') tells the agent how retries behave. It stops short of naming alternatives (e.g. follow_up for an existing task) or stating when not to use it.

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