Skip to main content
Glama

Add Task

add_task

Add a website task or empty task to an existing draft. Omit blockId; the server generates and returns it. Use the returned ID for later edits. Flat fields; no configuration object. Omit wording only for an intentionally incomplete draft. Supply url for a website task; isPrototype defaults to false for a regular website. Set isPrototype=true for a prototype website. stopCondition requires url. Use add_test_block for uploaded prototypes or advanced settings. No launch. The concrete action the tester performs in the product. When drafting or suggesting wording, write one short sentence, usually 10–25 words: [action verb] + [single concrete target] + [essential method or constraint]. Describe one coherent goal; naturally paired actions are fine, but split independent goals into separate tasks. If multiple items could match, identify one by name or position; avoid "any item". Name the in-app mechanism when needed. Keep motivation and backstory in scenario, observable completion criteria in stopCondition, and judgments or research objectives in follow-up survey questions. Omit step-by-step navigation and unnecessary detail. Example: "Book a table for 2 at Bar Mut for tonight at 8:00 PM." Preserve supplied or accepted wording unless the user requests a rewrite or delegates wording choices. When drafting or suggesting scenario wording, write 1–3 short sentences in second person, present tense ("You are…", "You have…"). Describe a believable situation and a concrete triggering moment explaining why the tester needs to act now. Keep the action in the task; do not repeat it here. Example: "It is Friday evening, you are exhausted from work, and you do not want to cook tonight." Preserve supplied or accepted wording unless the user requests a rewrite or delegates wording choices. When drafting or suggesting stopCondition wording, write one short sentence starting with "Stop when". Name one observable on-screen state detectable from a screenshot or DOM that marks the task’s natural completion. Avoid alternative endings, user feelings and off-screen events such as receiving an email; do not stop mid-flow. Example: "Stop when the order confirmation page displays the order number and total amount." Preserve supplied or accepted wording unless the user requests a rewrite or delegates wording choices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
taskNoDraft one short sentence, usually 10–25 words: action + one target + essential constraints. Preserve accepted wording.
testIdYes
blockIdNoOmit when creating a task; the server returns its blockId. Supplied IDs are supported for existing clients.
positionNo
scenarioNoDraft 1–3 short sentences in second person, present tense: situation + reason to act now. Do not repeat the task.
isPrototypeNoDefaults to false for a regular website. Set true for a prototype website.
stopConditionNoDraft one short "Stop when" sentence naming an observable on-screen state at task completion. No alternatives or off-screen events.
expectedRevisionNoLegacy compatibility only; ignored. Draft revisions are resolved automatically.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoOpen the draft in Uxia.
testIdNo
blockIdNoServer-assigned ID of the added block. Use it for subsequent edits and references.
editableNo
definitionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / expectedRevision / description
      Added value: +"Legacy compatibility only; ignored. Draft revisions are resolved automatically."
    • changedInput schema / required
      Previous value: -[
      -  "testId",
      -  "expectedRevision"
      -]New value: +[
      +  "testId"
      +]
  2. Changed6 schema fields changed
    • addedInput schema / properties / blockId / description
      Added value: +"Omit when creating a task; the server returns its blockId. Supplied IDs are supported for existing clients."
    • addedInput schema / properties / scenario / description
      Added value: +"Draft 1–3 short sentences in second person, present tense: situation + reason to act now. Do not repeat the task."
    • addedInput schema / properties / stopCondition / description
      Added value: +"Draft one short \"Stop when\" sentence naming an observable on-screen state at task completion. No alternatives or off-screen events."
    • addedInput schema / properties / task / description
      Added value: +"Draft one short sentence, usually 10–25 words: action + one target + essential constraints. Preserve accepted wording."
    • changedInput schema / required
      Previous value: -[
      -  "testId",
      -  "expectedRevision",
      -  "blockId"
      -]New value: +[
      +  "testId",
      +  "expectedRevision"
      +]
    • addedOutput schema / properties / blockId
      Added value: +{
      +  "description": "Server-assigned ID of the added block. Use it for subsequent edits and references.",
      +  "type": "string"
      +}
  3. Changed6 schema fields changed
    • removedInput schema / properties / scenario / $ref
      Removed value: -"#/properties/task"
    • addedInput schema / properties / scenario / maxLength
      Added value: +500
    • addedInput schema / properties / scenario / type
      Added value: +"string"
    • removedInput schema / properties / stopCondition / $ref
      Removed value: -"#/properties/task"
    • addedInput schema / properties / stopCondition / maxLength
      Added value: +500
    • addedInput schema / properties / stopCondition / type
      Added value: +"string"
  4. Changed2 schema fields changed
    • addedInput schema / properties / isPrototype / default
      Added value: +false
    • addedInput schema / properties / isPrototype / description
      Added value: +"Defaults to false for a regular website. Set true for a prototype website."
  5. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description's job is to add context, and it does: the server generates and returns blockId for later edits, and 'No launch' clarifies that adding a task does not start the test. It does not cover failure modes, permission requirements, or what happens on duplicate/position conflicts.

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?

A single wall of text mixes tool purpose, parameter constraints, and three long field-authoring style guides. The sentence 'Preserve supplied or accepted wording unless the user requests a rewrite or delegates wording choices' is repeated verbatim three times, wasting space, and none of the drafting guidance is visually separated from the operational instructions.

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 values need not be explained, and the description covers the key selection and constraint facts an agent needs plus the unusual drafting conventions for task/scenario/stopCondition. Given the 9-parameter surface, it is complete enough despite the padding; only testId and position semantics are left entirely to the schema.

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 67%, so the schema already documents blockId, isPrototype, task, scenario and stopCondition — and the description's long drafting rules for those fields largely restate what the schema descriptions already say. The one genuinely additive item is the cross-field constraint 'stopCondition requires url', which the schema does not express. 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?

The opening sentence gives a precise verb+resource+scope: 'Add a website task or empty task to an existing draft.' It goes further than most siblings by naming the boundary case and the alternative tool ('Use add_test_block for uploaded prototypes or advanced settings'), so an agent can distinguish add_task from add_test_block without opening either schema.

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 states when to use the alternative ('add_test_block for uploaded prototypes or advanced settings'), field-conditional rules ('stopCondition requires url', 'Supply url for a website task', 'Omit wording only for an intentionally incomplete draft'), and a scope limit ('No launch'). The tool-selection guidance is real but compressed into one clause and buried among field-authoring conventions, with no guidance on when not to add a task at all.

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