Skip to main content
Glama

Create Test Layer Schema

create_test_layer_schema

Create a test layer schema to link a custom field key to a specific test layer, automating test case assignment in Allure TestOps.

Instructions

Create a new test layer schema to map a custom field key to a test layer.

Test layer schemas define the mapping between custom field keys and test layers. This allows test cases with specific custom field values to be automatically assigned to the correct test layer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe schema key (e.g., custom field name like 'layer' or 'test_layer').
project_idYesAllure TestOps project ID to create the schema in.
output_formatNoOutput format: 'json' (default) or 'plain'.
test_layer_idYesID of the test layer to link to this schema.
Behavior3/5

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

Annotations indicate readOnlyHint=false, idempotentHint=false, destructiveHint=false. The description adds context about the mapping behavior but does not disclose whether creating an existing schema would overwrite or error, nor does it mention idempotency. It adds some value beyond annotations but not fully.

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

Conciseness5/5

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

The description is three sentences: the first states the core purpose, and the next two explain the concept. It is front-loaded, concise, and contains no extraneous information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description explains the concept and purpose but lacks details on the return value (no output schema) and prerequisites (e.g., existing test layer). Given the complexity and parameters, it is adequate but has gaps.

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?

All 4 parameters have descriptions in the input schema (100% coverage). The description does not provide additional detail beyond the schema, so it meets the baseline but does not enhance understanding further.

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 description clearly states the action (create) and resource (test layer schema), and explains its purpose of mapping a custom field key to a test layer. It distinguishes itself from siblings like 'create_test_layer' (creates the layer itself) and 'list_test_layer_schemas' (lists 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?

The description provides context about when to use this tool: to automatically assign test cases to a test layer based on custom field values. However, it does not explicitly mention when not to use it or alternative approaches, though the context is clear enough for an agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ivanostanin/lucius-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server