Skip to main content
Glama
IFS Cloud Bridge

IFS Cloud Bridge

by dchemwetich

read_openapi_file

Read-only

Summarizes a downloaded OpenAPI/Swagger JSON file for skill authoring, returning structured entity sets, methods, and properties to help you understand the API spec.

Instructions

Read and summarise a downloaded OpenAPI/Swagger JSON file for skill authoring. Returns a structured summary of the entity sets, methods, and properties found in the 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": {
      "path": "<path>"
    },
    "name": "read_openapi_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to the downloaded OpenAPI/Swagger JSON file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral information: the tool does not return the raw file but a summarised projection, and it names what that projection contains (entity sets, methods, properties), which tells the agent what it will and will not get back.

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, no filler: the operation and its input scope come first, followed by the return shape. Every clause earns its place.

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

Completeness4/5

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

For a single-parameter read-only tool with no output schema, the description supplies the essential missing piece by describing the shape of the returned summary. What it lacks is minor: no note on failure behavior for malformed or non-OpenAPI files, and no mention of how large specs are handled.

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?

With a single parameter at 100% schema description coverage, the schema already fully documents the absolute path requirement. The description only adds the implicit constraint that the file must have been previously downloaded, without any format, validation, or error-handling detail 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?

The description names a specific verb pair (read and summarise) and a precise resource (a downloaded OpenAPI/Swagger JSON file), and notes the downstream use case of skill authoring. It does not, however, distinguish itself from the similarly-shaped sibling parse_har_file, so an agent must infer the file-format boundary on its own.

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?

The phrase 'for skill authoring' and 'downloaded' imply the tool is used on a spec file already fetched to disk during a skill-building workflow, which is useful context. There is no explicit statement of when not to use it or which sibling to pick instead (e.g. parse_har_file for HAR captures), so usage is only implied.

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