Skip to main content
Glama
Konfig MCP Engine

Konfig MCP Engine

konfig_transform_openapi

Transforms OpenAPI 3.0/3.1 specifications into ready-to-call MCP tool schemas, enabling AI agents to discover and call REST APIs without glue code.

Instructions

Transforms an OpenAPI 3.0/3.1 specification JSON object into ready-to-call MCP Tool schemas for AI agents.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "spec": "<spec>"
    },
    "name": "konfig_transform_openapi"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYesParsed OpenAPI v3.0 / v3.1 specification

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say whether the transform is pure/read-only, how invalid or unsupported specs are reported, whether there are size or version limits, or what the returned structure looks like. For a conversion tool with a deeply nested input, that leaves meaningful gaps.

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?

One sentence, front-loaded with the verb and both source and target formats, with no filler or redundant restatement of the tool name. Nothing could be removed without losing information.

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

Completeness3/5

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

Given a single-parameter tool with no output schema, the description should at least sketch the returned artifact or error behavior. It names the output type ('MCP Tool schemas') but says nothing about its structure, so an agent knows the intent but not what to expect back.

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% for the single `spec` parameter, and the schema already documents it as a 'Parsed OpenAPI v3.0 / v3.1 specification'. The description adds no format constraints beyond that (e.g., that it must be a parsed object, not a raw string or URL), so the baseline 3 applies.

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

Purpose4/5

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

The description states a specific verb ('Transforms') and a specific resource ('OpenAPI 3.0/3.1 specification JSON object') and names the concrete output ('ready-to-call MCP Tool schemas for AI agents'). That is clear enough to know exactly what the tool produces; it only stops short of a 5 because there are no siblings to be differentiated from.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer it should call this when it holds an OpenAPI spec and wants MCP tool schemas. There is no explicit statement of prerequisites (parsed object vs. URL/YAML string), no mention of when not to use it, and no alternatives to consider.

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

Deploy Server

Other Tools