info
Get a full snapshot of the API MCP server: version, active specs, HTTP client configuration, auth methods, and mock mode. Use it to verify rate limits before making calls.
Instructions
info
Returns a comprehensive summary of the swag2mcp runtime: version, configuration, active specs, HTTP client settings, MCP transport, auth methods, and mock mode status.
When to use
Use this tool when:
The user asks "what's the current configuration?" or "show me the system status"
You need to understand how the HTTP client is configured (timeout, proxy, headers, cookies, rate_limiting)
You need to know which specs are active, disabled, and their endpoint counts
You want to check the MCP transport type and whether auth is enabled
You need to see which auth methods are configured across all specs
You want to check if mock mode is enabled
Before calling
invokein a loop — checkrate_limiting.per_endpoint_intervalandrate_limiting.global_limitto avoid throttling
This tool takes no arguments — it returns the full runtime summary.
Parameters
This tool has no parameters.
Returns
A JSON object with version, latest_version (from GitHub), workspace path, uptime, specs summary, HTTP client configuration (including rate_limiting with per_endpoint_interval and global_limit), MCP configuration, auth methods, and mock mode status.
Presentation
When presenting results to the user, format numeric values in human-readable form:
max_response_size: convert bytes to a human-friendly string (e.g.,"1 KB"instead of1048)uptimeis already human-readableCounts (total, active, endpoints, etc.) are small numbers — show as-is
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||