Skip to main content
Glama

testneo_swagger_preview

Parse Swagger or OpenAPI specs from base64-encoded files to extract format, tags, and endpoint counts. Read-only preview without database writes.

Instructions

Parse Swagger/OpenAPI (JSON or YAML) from base64 and return spec format, tags, and endpoint counts. Read-only; no DB writes. Backend: POST /api/web/v1/ai-test-gen/preview.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
swagger_file_base64Yes
swagger_filenameYes
Behavior3/5

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

Discloses read-only nature and no DB writes, and gives backend endpoint. With no annotations, this is helpful but lacks detail on return format, error handling, or size limits.

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?

Three concise sentences, front-loaded with the main purpose. No redundancy, efficient use of words.

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?

Given no output schema and two parameters, description provides backend endpoint and return content types. But lacks details on validation, error messages, or expected usage context.

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% and description does not explain the two required parameters (swagger_file_base64 and swagger_filename). Only implies base64 but no details on filename or format constraints.

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 it parses Swagger/OpenAPI from base64 and returns spec format, tags, and endpoint counts. It distinguishes from siblings like testneo_swagger_impact_analysis (impact analysis) and testneo_api_project_upload_openapi (upload).

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

Usage Guidelines3/5

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

Implies usage via 'Read-only; no DB writes' and mentions backend endpoint, but does not explicitly state when to prefer this over siblings like testneo_swagger_upload_and_generate. No exclusion criteria.

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