Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Swagger: Scan API Standardization from Registry

swagger_scan_api_standardization_from_registry
Read-onlyIdempotent

Scans an API from SwaggerHub Registry against organizational governance rules using org name, API name, and version, returning validation errors, issue counts, and a UI link.

Instructions

Run a standardization scan on an API that already exists in SwaggerHub Registry, identified by organization name, API name, and version. Fetches the API definition from the registry internally and scans it against the organization's governance and standardization rules. Returns a list of validation errors, total issue count, counts grouped by severity, and a SwaggerHub UI URL for the scanned API. Use this tool when the user identifies the API by org name, API name, and version and asks to validate, scan, or check the governance or standardization of an existing API.

Toolset: Registry API

Parameters:

  • orgName (string) required: The organization name that owns the API and provides the standardization rules (case-sensitive)

  • apiName (string) required: API name (case-sensitive)

  • version (string) required: Version identifier

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiNameYesAPI name (case-sensitive)
orgNameYesThe organization name that owns the API and provides the standardization rules (case-sensitive)
versionYesVersion identifier
Behavior4/5

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

Annotations indicate read-only, idempotent, non-destructive. Description adds that it fetches the API definition internally and returns validation errors, counts by severity, and a UI URL. No contradictions.

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 well-structured with a purpose statement, usage context, and parameter list. Every sentence adds value, though the parameter list could be omitted since it duplicates the schema.

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

Completeness4/5

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

For a read-only scan tool with no output schema, the description explains the return values (errors, counts, URL) sufficiently. It differentiates from the sibling tool and covers all aspects of usage.

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 100% with clear parameter descriptions. The description's 'Parameters' section repeats the schema but adds no new information beyond what's already in the input 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 it runs a standardization scan on an API from SwaggerHub Registry using orgName, apiName, version. It distinguishes from the sibling 'swagger_scan_api_standardization' which likely scans a provided spec, not from registry.

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 explicitly states when to use this tool: when the user identifies the API by org name, API name, and version and asks to validate, scan, or check governance/standardization. It implies not for scanning inline specs, but doesn't provide explicit exclusions.

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/SmartBear/smartbear-mcp'

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