Skip to main content
Glama
NekoTarou

swagger-api-mcp-server

by NekoTarou

List Schema Definitions

swagger_list_schemas
Read-onlyIdempotent

List all schema definitions from an API spec, displaying name, type, description, and property count. Supports keyword filtering and pagination.

Instructions

List all model/schema definitions in the API spec. Shows schema name, type, description, and property count. Supports keyword filtering and pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum results to return (default 50)
offsetNoNumber of results to skip for pagination
keywordNoFilter schemas by name or description keyword
Behavior4/5

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

Annotations already declare read-only and non-destructive behavior, so the safety profile is covered. The description adds valuable context about returned fields (name, type, description, property count) and supports filtering/pagination, going beyond the annotation-only information.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences, front-loaded with the main action ('List all model/schema definitions') followed by the output summary and feature hints. No fluff or redundant information.

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

Completeness5/5

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

For a simple listing tool, the description is complete. It states what the tool returns (fields), mentions filtering and pagination, and the annotations confirm safety. No output schema exists, but the described output is sufficient for the intended use.

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?

All three parameters (limit, offset, keyword) are fully described in the schema, achieving 100% coverage. The description only restates that filtering and pagination are supported, which adds no new meaning beyond the existing schema descriptions.

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 tool lists all model/schema definitions in the API spec, with a specific verb ('List') and scope ('all model/schema definitions'). It also lists the expected output fields (name, type, description, property count), distinguishing it from sibling tools like `swagger_get_schema` which likely targets a single schema.

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 implies use cases: enumerating schemas, filtering by keyword, and paginating. However, it does not explicitly mention when not to use it or provide direct alternatives (e.g., 'use get_schema for a specific schema'). The context is clear but lacks 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/NekoTarou/swagger-api-mcp-server'

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