Skip to main content
Glama

Get Test Definition

get_test_definition
Read-onlyIdempotent

Read the current draft, revision, validation and editability before editing. Includes ordered blocks and audience; excludes credential secrets.

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>"
    },
    "name": "get_test_definition"
  }
}

Input Schema

NameRequiredDescriptionDefault
testIdYes

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. Changed4 schema fields changed
    • 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. Changed1 schema field changed
    • addedOutput schema / properties / blockId
      Added value: +{
      +  "description": "Server-assigned ID of the added block. Use it for subsequent edits and references.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: the response reflects the *current draft* (state semantics) and explicitly excludes credential secrets, which tells the agent not to expect secrets and hints at access scoping. A minor gap is that it does not say what happens if the test is missing or unreadable.

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?

Two tight sentences, no filler, with the primary action and its precondition front-loaded and the include/exclude scope in the second sentence. Every clause carries information an agent can act on.

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, the description need not enumerate return fields, and annotations cover safety, so what remains is the when-to-use framing and scope, both supplied. The only shortfall is the undocumented testId parameter, which is the one element neither the description nor the schema explains beyond a regex.

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?

There is one parameter, testId, with 0% schema description coverage, so the description would ideally say what identifier to supply (e.g., the 24-character test ID). It does not mention parameters at all, though the name is self-explanatory and the schema supplies the hex pattern, so some of the burden is already covered.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Read') and a specific resource (the test definition), then enumerates what the read returns: current draft, revision, validation, editability, ordered blocks, and audience. That is far more than a restatement of the name and lets an agent distinguish it from generic getters like get_test or get_test_summary, though it never names those siblings explicitly.

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 phrase 'before editing' gives a clear triggering condition that routes the agent here ahead of update_test_definition or add_test_block. It stops short of explicit exclusions (e.g., use get_test when you only need metadata), so it is clear context without full when-not guidance.

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