Skip to main content
Glama
Apidog MCP Server

Apidog MCP Server

by ivanherula

import_schema

Import a single JSON Schema into Apidog by wrapping it in a minimal OpenAPI spec, with options to overwrite, merge, keep, or create new schemas and place them in a target folder.

Instructions

Import a single data model/schema by wrapping it into a minimal OpenAPI spec and importing it.

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": {
      "name": "<name>",
      "schema": "<schema>"
    },
    "name": "import_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesSchema name (e.g., UserResponse)
schemaYesJSON Schema definition object
overwriteBehaviorNoHow to handle an existing schema with the same name (default: OVERWRITE_EXISTING)
targetSchemaFolderIdNoFolder ID where the schema will be placed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose a non-obvious mechanic — the schema is wrapped into a minimal OpenAPI spec before import — which hints at side effects beyond a simple insert, but it never says what artifacts get created, whether existing same-named schemas are affected, or what the call returns.

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?

A single front-loaded sentence with no filler. It is efficient, though it could have used one more sentence for the caveats it omits rather than staying at this length.

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?

For a four-parameter mutation with a nested object, no annotations and no output schema, the description covers the core mechanic but omits what the operation produces, whether it is reversible, and how it relates to the sibling import tools. Adequate but with clear gaps given the tool's complexity.

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 all four parameters (including overwriteBehavior's enum and targetSchemaFolderId) are already documented in the schema. The description adds no meaning about parameter interactions, such as how overwriteBehavior behaves with a wrapped spec. 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?

States a specific verb and resource: import a single data model/schema. The qualifier 'single' hints at a distinction from sibling import_openapi, but it never names that sibling or states what the broader import covers, so differentiation is only implicit.

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 this is for one schema rather than a whole document, but there is no explicit 'use this when' or 'use import_openapi instead when' guidance. No prerequisites or exclusion conditions are given.

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