Skip to main content
Glama

socket.help

call_mock_api

Destructive

Call a hosted mock route or mutate its CRUD records. Uses the same caller access, limits and revision checks as HTTP. Management tokens do not grant caller access. Owned OAuth providers also accept protocol paths, form fields in body and a userinfo bearer accessToken; authorization redirects include location.

Input Schema

NameRequiredDescriptionDefault
idYesMock resource UUID.
bodyNo
pathYesRelative collection or route path, optionally with query parameters.
methodYes
revisionNo
accessTokenNoPrivate caller access token, supplied separately from the URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Goes well beyond the provided annotations: it discloses that the call is subject to the same caller access, rate limits, and revision checks as real HTTP, that management tokens are insufficient, and that authorization redirects return a location. These are real operational facts an agent cannot get from readOnlyHint/destructiveHint alone, though the exact failure mode on a revision mismatch is not described.

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?

Four tight sentences with the core action and access model front-loaded and no filler. The final clause ('authorization redirects include location') is compressed to the point of being cryptic, which slightly hurts readability without bloating the text.

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?

For a six-parameter, destructive, no-output-schema tool, the description covers the access model and concurrency checks well but leaves the return shape, the destructive blast radius, and the meaning of revision unspecified. It is adequate to attempt a call but not complete enough to predict outcomes.

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 50%, so the description must compensate and it only partly does: it clarifies that body carries form fields and that accessToken is a userinfo bearer for owned OAuth providers. It adds nothing about revision (the concurrency token) or about how method and path interact for CRUD versus protocol routes.

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?

States a specific verb and resource: 'Call a hosted mock route or mutate its CRUD records,' which makes the proxy/execution nature clear versus sibling management tools like create_mock_api or inspect_mock_api. It never names those siblings explicitly, so the differentiation is inferable rather than stated.

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 description implies usage (execute routes as a caller would over HTTP) and gives one important exclusion — management tokens do not grant caller access — but never says when to prefer this over inspect_mock_api or create_mock_api, or what prerequisite steps are needed before calling.

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