Skip to main content
Glama

Loutre

set_response

Set the JSON body a route returns for a given status (hand-written response); a null body restores the generated response.

Input Schema

NameRequiredDescriptionDefault
bodyYesJSON body, or null to go back to the generated response
slugYesSubdomain of the mock, e.g. "brisk-otter"
routeYesRoute identifier, lowercase method: "get:/users/{id}"
statusYes
ownerTokenNoOwner token received at creation (not needed when the account is connected with an API token)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses that this is a mutation and that null restores the generated response, but it omits important details such as overwrite semantics, auth/ownerToken requirements, and what happens when the route or status does not exist.

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 a single front-loaded sentence with no filler. Every clause contributes: the core action, the hand-written qualifier, and the null-body restore behavior.

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?

For a mutation tool with no annotations and no output schema, this is under-specified. The description does not cover authorization via ownerToken, whether existing responses are overwritten, error behavior, or how status and route interact with generated responses.

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 80%, so the schema already documents most parameters. The description repeats the null-body behavior that is already present in the schema for body, and adds little meaning for slug, route, status, or ownerToken.

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?

The description states a specific verb and resource: setting the JSON body a route returns for a given status. It is clear what the tool does, but it does not distinguish this from neighboring tools such as set_behavior or add_rule, which likely also alter route responses.

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 phrase 'hand-written response' and the note that a null body restores the generated response imply when to use it, but they do not explicitly say when to use this instead of add_rule or set_behavior. No exclusions or prerequisites are given.

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