Skip to main content
Glama

api_request

Escape hatch: make an authenticated request to any ApparelHub agent API endpoint under /agents/v1, as the connected account. PREFER a dedicated tool when one exists (they return clean, guarded results) — use this only for capabilities no tool covers. Call get_api_reference first to find the right path. path is relative (e.g. "orders", "store//settings"); no full URLs. Scoped to the account's own permissions.

[#d82569]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoJSON request body (for POST/PUT/PATCH).
pathYesRelative path under /agents/v1, e.g. "orders" or "product/<uuid>/archive". No host, no "..".
queryNoQuery-string parameters.
methodYesHTTP method.
workspaceNoWorkspace uuid to scope to (agency accounts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Only openWorldHint is annotated, so the description carries the burden and does deliver useful behavior context: it runs as the connected account, is scoped to the account's own permissions, and the parenthetical that dedicated tools return "clean, guarded results" implies this raw path is unguarded. It still omits that DELETE/mutating calls are possible and says nothing about rate limits or failure modes.

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?

Front-loads the "Escape hatch" framing and keeps the guidance to a few tight sentences with an inline path example. The stray marker "[#d82569]" at the end is noise that earns no 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 an open-ended, open-world tool with no output schema, the definition covers the essentials: scope, path format, prerequisite lookup, and routing to dedicated tools. It leaves return/error shape and destructive-call behavior to inference, which is a real but acceptable gap given the escape-hatch framing.

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 the schema already documents method, path, body, query and workspace; baseline is 3. The description adds only the relative-path constraint and one example, which mildly extends beyond the schema but doesn't clarify body/query/workspace semantics.

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+resource ("make an authenticated request to any ApparelHub agent API endpoint under /agents/v1") and explicitly frames itself as an escape hatch relative to the ~100 dedicated sibling tools. An agent can immediately tell this apart from accept_invite, create_product, etc.

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 when-to-use ("only for capabilities no tool covers"), when-not ("PREFER a dedicated tool when one exists"), plus a prerequisite ordering instruction ("Call get_api_reference first to find the right path"). This is about as complete as usage guidance gets.

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