Skip to main content
Glama

Import Test Cases from Document

import_test_cases_from_document

Import test cases from document text content. The AI will analyze the text and extract test cases automatically.

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."
project_idYes
source_nameNoOptional name for the document source (e.g., 'Requirements Document', 'Test Plan v2.0')
text_contentYesDocument text content to extract test cases from

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The description adds the non-obvious fact that extraction is LLM-driven ('The AI will analyze the text'), which is useful context beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false). It omits whether imported cases land as pending/draft (see accept_pending_tests) or are created directly, and says nothing about latency or cost.

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?

Two short sentences with no filler, front-loading the action. It is efficient but under-informative rather than wasteful.

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?

For an AI-extraction mutation tool with no output schema, the definition should say what comes back (number of extracted cases, pending state) and any preconditions. Annotations cover the safety profile but the outcome lifecycle remains unclear.

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 coverage is 75%, so most parameters are documented in the schema already (context, source_name, text_content). The description only maps loosely to text_content and adds no guidance on project_id or source_name semantics, which is acceptable at this coverage 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?

States a specific verb+resource ('Import test cases from document text content') and clarifies the AI-driven extraction mechanism, so the agent knows the input is raw text rather than a file or URL. It does not, however, differentiate itself from siblings like import_document_and_crawl, import_qtml, or generate_tests.

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 statement of when to use this versus the many other import/generation siblings, and no prerequisites or exclusions. The agent must infer the choice from the source-medium phrase alone.

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