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

Scan an existing API from SwaggerHub Registry against governance rules. Provide org name, API name, and version to receive validation errors, severity 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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
countNo
validationNo
countsBySeverityNo
Install Server

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already convey read-only, idempotent, non-destructive behavior. The description adds useful process detail: it fetches the API definition from the registry internally, scans it against governance/standardization rules, and returns validation errors, issue counts by severity, and a UI URL. This is meaningful context beyond the annotations.

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 core behavior and usage are front-loaded, with useful output and process details following. However, the explicit parameter list duplicates the schema, and 'existing API' appears multiple times, introducing minor redundancy. Overall, it remains well-structured and efficient.

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 three-parameter read-only scan tool with an output schema, the description is largely complete: it states inputs, internal behavior, return contents, and when to use it. It could be stronger by naming the distinction from swagger_scan_api_standardization explicitly, but the registry-based identification is already clear from the text and name.

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%, so the schema already documents all three parameters. The description repeats the parameter list and adds slight context (e.g., org provides the standardization rules, case-sensitivity), but does not add substantial meaning 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 states a specific action ('Run a standardization scan'), the exact resource (an API existing in SwaggerHub Registry), and the identifying triple of org, API name, and version. It clearly differentiates from the sibling swagger_scan_api_standardization by emphasizing the API already exists in the registry and is fetched internally.

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 gives explicit context: '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.' It does not name alternatives or state exclusions, so it stops short of a full when-to-use vs. alternatives explanation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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