Skip to main content
Glama
Apidog MCP Server

Apidog MCP Server

by ivanherula

import_endpoints_from_url

Imports an OpenAPI/Swagger spec from a remote URL into a project, with optional basic auth and folder placement. Use it to add or update API endpoints from an existing spec.

Instructions

Import an OpenAPI/Swagger spec from a remote URL into the project.

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": {
      "url": "<url>"
    },
    "name": "import_endpoints_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL pointing to an OpenAPI/Swagger file (JSON or YAML)
passwordNoBasic auth password (if the URL requires authentication)
usernameNoBasic auth username (if the URL requires authentication)
targetSchemaFolderIdNoFolder ID where imported schemas will be placed
targetEndpointFolderIdNoFolder ID where imported endpoints will be placed
schemaOverwriteBehaviorNoHow to handle existing schemas (default: OVERWRITE_EXISTING)
endpointOverwriteBehaviorNoHow to handle existing endpoints (default: OVERWRITE_EXISTING)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.9/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 burden. It omits that this is a write operation that creates schemas and endpoints, that existing artifacts may be overwritten or merged depending on the overwrite-behavior parameters, and that remote fetching may require credentials — all material to invoking it safely.

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 or redundancy. It is arguably too terse for a seven-parameter mutating import, but nothing in the text is wasted.

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

Completeness2/5

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

For a seven-parameter write tool with no annotations and no output schema, the description should at minimum note that it creates project artifacts and that existing schemas/endpoints can be overwritten or merged. None of that context appears, leaving the agent to reconstruct behavior from parameter names alone.

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 seven parameters, including the auth pair, folder targets, and the overwrite enum with its default, are already documented in the schema. The description adds nothing beyond that, so the baseline of 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 (import) plus resource (OpenAPI/Swagger spec) and the source (remote URL), which is clearer than a bare 'import'. However, it never distinguishes itself from the sibling import_openapi, so an agent cannot tell from this text which import path applies to a URL versus another source.

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?

The description gives no when-to-use guidance, no preconditions, and no mention of alternatives such as import_openapi or import_endpoint. The only implicit signal is the word 'URL' in the sentence, which an agent must infer means remote fetches rather than local uploads.

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