Skip to main content
Glama

Call any wflow API endpoint (generic)

wflow_request

Call any wflow public API endpoint directly with custom path, method, query, and body for operations not covered by typed tools. Use wflow_api_catalog to discover endpoints.

Instructions

Low-level escape hatch to call ANY wflow public API endpoint. Use this when no typed tool fits (browse the surface with wflow_api_catalog first). • path may be a bare resource ('documents', 'registers/costcenters'), an org-templated path ('/api/{organization}/roles') or the org is injected automatically for relative paths. • {organization} in the path (or a relative path) is filled from the organization argument or WFLOW_ORG. • query is an object of query-string parameters (wflow filter syntax for query, e.g. totalAmount > 1000). • body is sent as JSON for PUT/POST/PATCH. Writes (non-GET) are blocked when WFLOW_READONLY is set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoRequest body (sent as JSON) for PUT/POST/PATCH.
pathYesEndpoint path, e.g. 'documents', 'registers/costcenters', or '/api/{organization}/roles'.
queryNoQuery-string parameters as an object.
methodNoHTTP method.GET
organizationNoOrganization slug. Defaults to WFLOW_ORG.
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses path templating, organization injection, query filter syntax, JSON body handling, and the WFLOW_READONLY write-blocking behavior. However, it does not mention response format, error handling, or authentication, which would have made it fully transparent.

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?

The description is well-structured with a lead sentence and four focused bullets, each conveying a distinct operational rule. It is slightly verbose for a simple tool, but the complexity of the generic caller justifies the length; there is minimal redundancy.

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 description thoroughly covers request construction but omits any mention of return values, error handling, or pagination. Since there is no output schema, an agent may be left uncertain about what the tool actually returns when called, leaving a notable gap for a generic API caller.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds significant meaning beyond the schema: explains how {organization} placeholders are resolved, provides a wflow filter syntax example for 'query', and clarifies that 'body' is sent as JSON for PUT/POST/PATCH. This is more than the schema alone provides.

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?

The description clearly states the tool is a low-level escape hatch for calling ANY wflow public API endpoint, using a specific verb and resource. It distinguishes itself from the typed siblings by instructing to use it when no typed tool fits, and references wflow_api_catalog for discovery.

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?

Explicitly says 'Use this when no typed tool fits' and directs the agent to browse the surface with wflow_api_catalog first. This provides clear when-to-use guidance and contrasts with the many specific sibling tools.

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/wflowcom/wflow-mcp-experimental'

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