Skip to main content
Glama

findagent_import_openapi

Read-only

Turn an OpenAPI 3.x spec (JSON or YAML text you pass as spec) into the tools and credential slots of an action agent, without saving anything. Each operation becomes one http tool bound to the spec’s https server host; the spec’s security schemes become credential slots (definitions only, the buyer enters the secret at connect time). Review the result with the user, then pass tools, credential_slots and guardrails to findagent_create_draft. Paste-only: no URL is fetched. At most 40 operations become tools; the rest are listed in warnings. The web twin is the Submit page’s OpenAPI door.

Input Schema

NameRequiredDescriptionDefault
nameNoOptional short label used as a name fallback.
specYesThe OpenAPI 3.x spec text, JSON or YAML (up to 256 KB).

Output Schema

NameRequiredDescriptionDefault
titleNo
toolsNo
usageNo
taglineNo
warningsNo
guardrailsNo
descriptionNo
category_slugNo
system_promptNo
example_promptsNo
credential_slotsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / category_slug
      Added value: +{
      +  "type": "string"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly and openWorld=false, and the description reinforces and explains that (paste-only, nothing saved, no URL fetched). It adds non-schema behavior the agent could not otherwise know: spec security schemes become credential definitions only, overflow operations land in warnings, and each operation binds to the spec's https host.

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?

Dense, front-loaded, and mostly earning its place—limits, credential behavior, and next step all come early. The closing 'web twin is the Submit page's OpenAPI door' is orienting but borderline expendable.

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

Completeness5/5

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

For a two-parameter, read-only import tool with an output schema and strong annotations, nothing material is missing: limits, safety profile, credential handling, and the hand-off path are all covered.

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% and both parameters carry descriptions, so the schema does the heavy lifting. The description reinforces that spec is JSON or YAML text pasted in and mentions the 40-op truncation, but adds no format or size detail beyond what the schema already states (256 KB).

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

Purpose5/5

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

States a specific verb and resource: turns an OpenAPI 3.x spec into tools and credential slots of an action agent, explicitly without saving. It also names the downstream sibling (findagent_create_draft), so the agent can place it in the workflow without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit sequencing: review the result with the user, then pass tools, credential_slots and guardrails to findagent_create_draft. It also states the paste-only constraint (no URL fetched) and the 40-operation cap, which preempts the main misuse.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources