Skip to main content
Glama
APIBridge MCP Server
by chandru20

validate_api

Validate selected or all API endpoints, optionally including edge cases, and generate validation reports from OpenAPI or Swagger specifications.

Instructions

Comprehensive API validation

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "validate_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
endpointsNoArray of endpoint names to validate. Defaults to all.
generateReportNo
includeEdgeCasesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full disclosure burden and delivers none of it. It does not say whether validation issues live network requests, whether it mutates anything, whether generateReport produces a file or side effect, or what permissions or rate limits apply.

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

Conciseness2/5

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

The three-word description is not wasteful so much as empty; brevity here reflects under-specification rather than discipline. Nothing is front-loaded because nothing substantive is stated.

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

Completeness1/5

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

A tool with three parameters, no annotations, no output schema, and two undocumented parameters needs a description that explains behavior and outcomes. This one leaves an agent unable to predict what calling it does or how to interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: endpoints has a description, but generateReport and includeEdgeCases are undocumented in both schema and description. The description adds no meaning about defaults, the scope implied by "all" endpoints, or what turning on report generation or edge cases actually changes.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Comprehensive API validation" restates the tool name with an intensifier and never says what is validated, against what, or what the result means. It is closer to a marketing label than a statement of a specific verb and resource, and it gives no basis for distinguishing this from siblings such as ping_api.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of any alternative. An agent cannot tell whether this is a pre-deploy check, a smoke test, or a substitute for ping_api, so it has no signal for choosing between them.

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