Skip to main content
Glama

Add Test Block

add_test_block

Add one AI task (website or prototype), Survey, Accessibility or Card sorting block. Prefer add_task for website tasks. Follow the block schema; AI fields belong inside configuration. Omit id to generate a block ID server-side; returns blockId and the saved draft. Omit position to append. Use existing assets; never invent credentials. Returns current draft. No launch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blockYesAI draft example: {"type":"ai-user-test","configuration":{"task":"","scenario":"","experience":null,"credentials":null}}. Prefer add_task/update_task for website tasks. Omit id when creating a block; the server returns blockId and the saved draft. Use returned IDs for edits and references. Configure sign-in credentials only in the authenticated Uxia editor using the returned test link; never send passwords through tools.
testIdYes
positionNoZero-based insertion index; omit to append.
constructionNoOptional decisions; proposed wording stays separate. Acceptance needs current proposalRevision and matching saved wording. Never launch approval.
expectedRevisionNoLegacy compatibility only; ignored. The server resolves the current draft revision 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. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already convey non-read-only, non-idempotent, non-destructive, and closed-world. The description adds real value beyond them: the return contract (blockId plus the saved draft), the "No launch" boundary, and the credential-safety constraint. It does not detail what happens to existing blocks on conflict, but for an additive create operation this is minor.

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?

Front-loaded and compact, but telegraphic to the point of choppiness and slightly redundant — the return contract is stated twice ("returns blockId and the saved draft" then "Returns current draft"). Tightening would improve it.

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 an output schema present, return values need not be explained, and the description plus 80% schema coverage handle a complex four-variant block payload adequately. The main gap is deeper routing against the many sibling setup tools.

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?

At 80% schema coverage the schema carries most parameter meaning, but the description adds operational semantics the schema does not spell out: omit id for server-side generation, omit position to append, and keep AI fields inside configuration. These clarify how the required block object must be shaped.

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?

States a specific verb (Add) and resource (Test Block) and enumerates the exact block types supported: AI task, Survey, Accessibility, and Card sorting. It also distinguishes the tool from a sibling by directing website tasks to add_task, so an agent can tell them apart without opening the 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?

"Prefer add_task for website tasks" gives one explicit alternative with its selecting condition, and "No launch" signals this only writes a draft. However, no guidance distinguishes it from other block/setup siblings like prepare_test_block, create_block_test, or update_test_block, so routing is only partially complete.

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