Skip to main content
Glama
Rekl0w

MCP OpenAPI Discovery

by Rekl0w

suggest_call_sequence

Plan a sequence of API calls to accomplish a goal or reach a target endpoint, automatically including prerequisite requests.

Instructions

Suggest a likely API call sequence for reaching a target endpoint or accomplishing a goal, such as creating prerequisites before creating a dependent resource.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
specIdYesSpec ID returned by detect_openapi
goalNoOptional natural-language goal, e.g. create product with category and attributes
targetMethodNoExact target HTTP method when planning from a known endpoint
targetPathNoExact target OpenAPI path when planning from a known endpoint
limitNoMaximum number of workflow suggestions to return; defaults to 3
maxDepthNoMaximum dependency depth to explore; defaults to 5
Behavior3/5

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

No annotations provided, so description bears full burden. It mentions 'likely' sequence, implying non-determinism, but lacks details on side effects, required permissions, or how the suggestion is generated. Adequate but minimal.

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?

Single sentence, no redundant phrasing. Front-loaded with key action and resource. Very concise, though could benefit from slight expansion for clarity.

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?

Given no output schema and six parameters, the description is too brief. It does not explain the return format, how dependencies are explored, or limitations. For a tool that plans call sequences, more context is needed.

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 description adds no extra parameter meaning beyond listing an example usage scenario. Baseline score of 3 is appropriate.

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?

Description clearly states verb 'suggest' and resource 'API call sequence' for reaching a target endpoint or accomplishing a goal. It distinguishes from sibling tools like call_endpoint by focusing on planning rather than execution.

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?

Provides an example of when to use (e.g., creating prerequisites), but does not explicitly state when not to use or mention alternatives like call_endpoint for single requests. Usage is implied but not fully guided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Rekl0w/mcp-openapi-discovery'

If you have feedback or need assistance with the MCP directory API, please join our Discord server