Skip to main content
Glama
Apidog MCP Server

Apidog MCP Server

by ivanherula

import_endpoint

Add or update one API endpoint by wrapping it in a minimal OpenAPI 3.1 spec and importing it, so you avoid maintaining a full specification.

Instructions

Import a single API endpoint by wrapping it into a minimal OpenAPI 3.1 spec and importing it. Convenient for adding or updating one endpoint at a time without providing a full spec.

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": {
      "method": "<method>",
      "path": "<path>"
    },
    "name": "import_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesEndpoint path (e.g., /api/v1/users/{id})
tagsNoTags — note: tags become sub-folders in Apidog. Omit to land directly in targetEndpointFolderId.
methodYesHTTP method
summaryNoShort summary
responsesNoOpenAPI responses object (defaults to {"200": {"description": "OK"}})
parametersNoOpenAPI parameter objects
descriptionNoDetailed description
requestBodyNoOpenAPI requestBody object
overwriteBehaviorNoHow to handle an existing endpoint with the same path/method (default: OVERWRITE_EXISTING)
targetEndpointFolderIdNoFolder ID where the endpoint will be placed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

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, yet it discloses no authorization requirements, no side effects or reversibility of the import, and no indication of what happens on partial failure. Overwrite semantics exist only as a schema enum, and the description adds nothing about the fact that this is a mutating operation with persistence implications.

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 sentences, zero filler, with the mechanism and the practical rationale front-loaded in that order. Nothing repeats the schema or wastes the reader's time.

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?

The tool has ten parameters, nested OpenAPI objects, no output schema, and no annotations, so the description's brevity leaves real gaps around return values and error behavior. The rich schema compensates for parameter-level completeness, but for a mutation tool with this complexity the description is only minimally sufficient.

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 ten parameters including overwriteBehavior, tags-as-folders, and default responses are already documented inline. The description adds only the general framing that a minimal spec is synthesized, not any per-parameter meaning beyond the schema.

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 (import) and resource (a single API endpoint), and explains the mechanism (wrapping into a minimal OpenAPI 3.1 spec). The phrase 'a single API endpoint' implicitly separates it from spec-level siblings like import_openapi, though no sibling is named explicitly.

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?

'Convenient for adding or updating one endpoint at a time without providing a full spec' implies the usage context and hints that full-spec work belongs elsewhere, but it never names an alternative tool or gives an explicit exclusion. An agent must infer the routing decision from the 'full spec' contrast.

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