Skip to main content
Glama
Allure TestOps MCP

Allure TestOps MCP

get_test_case_scenario

Retrieves a test case scenario by ID in Allure TestOps, enabling users to inspect the steps and behavior defined for that test case.

Instructions

Get scenario for a test case.

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": {
      "id": "<id>"
    },
    "name": "get_test_case_scenario"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only implies a read via the word 'Get'. It says nothing about permissions, what a scenario object contains, whether the call fails for cases without a scenario, or what the response looks like - and there is no output schema to fill that gap.

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?

The single sentence is front-loaded and free of filler, but the brevity is a result of under-specification rather than disciplined compression - there is no wasted wording, yet nothing substantive was included either.

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

Completeness2/5

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

With no annotations, no output schema, undocumented parameters, and an unexplained domain term, the definition leaves an agent unable to predict the result shape or failure modes. For a retrieval tool this sparse, the description needed to do far more work.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter has 0% schema description coverage, so the description should explain that 'id' is the test case identifier (not a scenario id or plan id). It does not, leaving the parameter's meaning only weakly hinted at by the tool name.

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

Purpose2/5

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

The description restates the tool name almost verbatim ('Get scenario for a test case' vs. get_test_case_scenario) and never explains what a 'scenario' is or how this differs from the many sibling retrieval tools such as get_test_case or get_test_case_overview. An agent knows the verb and object but gains no conceptual clarity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisite context, and no routing to any alternative tool. The agent must infer entirely on its own whether it also needs get_test_case to obtain the id or whether this tool subsumes that call.

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