Skip to main content
Glama

provide_batch_mock_data

Submit mock responses for a batch of requests after claiming a batch. Each request needs a mock with requestId and data.

Instructions

Provide mock response data for a claimed batch.

You MUST first call claim_next_batch to get the batchId and claimToken. The mocks array must contain exactly one mock for each request in the batch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
batchIdYesThe batch ID (from claim_next_batch).
claimTokenYesThe claim token (from claim_next_batch).
mocksYesArray of mock responses, one for each request in the batch.
Behavior2/5

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

No annotations are provided, so the description must cover behavioral aspects. It does not disclose side effects, error conditions, or state changes. The only behavioral constraint mentioned is the required matching of mocks to requests. This is insufficient for a mutation tool.

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?

The description is very concise, consisting of two short sentences and a clear prerequisite note. It efficiently conveys essential information without unnecessary words.

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 covers prerequisites and parameter alignment, but lacks information about return values, error handling, or idempotency. Given no output schema, this leaves gaps in understanding the tool's full behavior.

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 value by explaining that batchId and claimToken come from claim_next_batch and that mocks must have exactly one entry per request. This clarifies parameter context beyond the schema.

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's purpose: providing mock response data for a claimed batch. It distinguishes from sibling tools by specifying the prerequisite (claim_next_batch) and the requirement that mocks match the batch requests.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs the agent to call claim_next_batch first to obtain batchId and claimToken. Also states that the mocks array must contain exactly one mock per request. This provides clear usage context, though it does not explicitly mention when not to use the tool.

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/mcpland/mock-mcp'

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