Skip to main content
Glama

Update Task

update_task
DestructiveIdempotent

Edit task/scenario/stopCondition wording by blockId. Only supplied fields change; all other settings are preserved. Empty strings clear wording. Use update_test_block for experience or credential changes. 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.

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": {
      "testId": "<testId>",
      "blockId": "<blockId>"
    },
    "name": "update_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoDraft one short sentence, usually 10–25 words: action + one target + essential constraints. Preserve accepted wording.
testIdYes
blockIdYes
scenarioNoDraft 1–3 short sentences in second person, present tense: situation + reason to act now. Do not repeat the task.
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

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. Changed5 schema fields changed
    • addedInput schema / properties / expectedRevision / maximum
      Added value: +9007199254740991
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / definition / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / definition / properties / blocks / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / definition / properties / revision / maximum
      Added value: +9007199254740991
  2. 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",
      -  "blockId"
      -]New value: +[
      +  "testId",
      +  "blockId"
      +]
  3. Changed4 schema fields changed
    • 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."
    • addedOutput schema / properties / blockId
      Added value: +{
      +  "description": "Server-assigned ID of the added block. Use it for subsequent edits and references.",
      +  "type": "string"
      +}
  4. 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"
  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 mark this as destructive/non-readOnly and idempotent; the description adds genuinely new semantics: partial-update behavior ("Only supplied fields change"), and that empty strings clear wording. It does not discuss permissions, revision conflicts (expectedRevision is described as "Legacy... ignored" only in the schema), or side effects on the enclosing test.

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 purpose and partial-update rules are front-loaded, but the body is a long, loosely ordered style guide whose sentences repeat verbatim ("Preserve supplied or accepted wording unless the user requests a rewrite or delegates wording choices" appears three times). Substantial content duplicates or expands on schema field descriptions rather than being trimmed to what the schema cannot say.

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?

For a six-parameter mutation tool with an output schema and clear annotations, the description covers the field semantics, preservation rules, and sibling routing well enough to invoke it correctly. Gaps are minor: the cryptic fragment "No launch" and the lack of any statement about permissions or what the response confirms.

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?

At 67% schema coverage, the schema already documents task, scenario, stopCondition and expectedRevision, and the description largely restates those drafting rules and examples rather than adding new parameter meaning. Parameters testId and blockId get no semantic explanation (only blockId is referenced as the addressing key).

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?

"Edit task/scenario/stopCondition wording by blockId" names a specific verb, the exact fields it mutates, and the key it addresses by. It also explicitly routes non-wording edits to update_test_block, so the tool is separable from its closest sibling without inspecting 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?

It names an alternative (update_test_block) for experience/credential changes and states that this tool does not launch, plus repeated guidance to preserve accepted wording unless a rewrite is requested. The exclusions are clear, though a fuller statement of when to call it at all (e.g., only after a block exists) is absent.

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