Skip to main content
Glama

Enhance Test Case

enhance_test_case

Enhance a test case with AI — adds more detailed steps, verification points, and improves the description.

Input Schema

NameRequiredDescriptionDefault
contextNoExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
test_case_idYesTest case ID to enhance

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already mark this as non-read-only but non-destructive and open-world, so the safety profile is partly covered. What the description does not disclose is the key behavior: whether the enhancement overwrites the existing steps/description in place or returns a proposal, whether an LLM round-trip is involved (latency, cost), and whether the original is recoverable. For a mutation tool that performs AI generation, these are material gaps.

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

Conciseness4/5

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

A single well-formed sentence with the output artifacts front-loaded after the verb. No filler, though the space freed by that brevity would have been better spent on the in-place-vs-proposal question.

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?

No output schema exists, and the description says nothing about return value or whether the changes persist to the test case. For a two-parameter tool with full schema coverage this is close to adequate, but the persistence semantics of an AI mutation are exactly what an agent needs before calling.

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?

Schema description coverage is 100% and the context parameter carries an extensive contract already, so the schema does the heavy lifting. The description adds no meaning to test_case_id beyond what the schema states, which is the expected baseline.

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?

Specific verb+resource (enhance a test case) plus the concrete artifact it produces: detailed steps, verification points, improved description. It is distinguished from update_test_case by the AI-driven nature, though the description never names that sibling to make the split explicit.

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?

No guidance on when to call this versus update_test_case or generate_code_for_test_case, and no prerequisites (e.g., must the test case already exist with a description to improve). The agent must infer usage entirely from the verb.

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