Skip to main content
Glama

testneo_swagger_upload_and_generate

Upload Swagger file and optional business rules to automatically generate NLP-driven web test cases with context indexing. Requires confirmation to proceed.

Instructions

Upload Swagger + optional business rules → unified context indexing + NLP web test cases (multipart). Guarded: TESTNEO_MCP_ALLOW_WRITE + confirm=true. Respects project execution preconditions. Large payloads: set TESTNEO_MCP_SWAGGER_TIMEOUT_MS. Backend: POST /api/web/v1/ai-test-gen/upload-and-generate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
swagger_file_base64Yes
swagger_filenameYes
business_rules_textNo
business_rules_file_base64No
business_rules_filenameNo
folder_idNo
max_test_casesNo
focus_tagsNo
confirmNo
idempotency_keyNo
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses write operation, confirmation requirement, and timeout handling, but does not mention idempotency, overwrite behavior, or error handling. More detail on side effects would improve transparency.

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?

The description is three sentences, front-loading the main purpose and including key guardrails. It is concise but could be structured with bullet points or clearer separation of usage notes.

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 11 parameters and no output schema, the description lacks detail on return values, error conditions, and parameter interactions. It does not explain the output format beyond 'unified context indexing + NLP web test cases', making it insufficient for an agent to fully understand tool behavior.

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?

Schema coverage is 0%, but description only implicitly references swagger and business rules parameters. It does not explain project_id, folder_id, max_test_cases, focus_tags, confirm, or idempotency_key, leaving the agent with minimal guidance beyond the schema.

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 (upload Swagger + optional business rules) and the outcome (unified context indexing + NLP web test cases). It distinguishes from sibling tools like testneo_swagger_preview (preview only) and testneo_api_project_upload_openapi (upload without generation).

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 usage context: requires TESTNEO_MCP_ALLOW_WRITE and confirm=true, respects preconditions, and suggests timeout for large payloads. However, it does not explicitly contrast with sibling tools or specify when not to use.

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/gururajhm-neo/testneo-mcp'

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