Skip to main content
Glama

set_response

Configure the HTTP response a bin returns to whatever hits its URL — set a status code, content-type and body. Use it to test how your webhook sender / agent handles a 500, a specific JSON reply, etc. Omit or reset to return the default 200. Requires the bin token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoResponse body to return verbatim (max 16KB).
tokenYesThe bin token.
bin_idYesThe bin id.
statusNoHTTP status code to return (100-599). Default 200.
content_typeNoContent-Type header for the response (default application/json).

TDQS

A4.3/5.0
Behavior4/5

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

No annotations provided, but description discloses that the tool modifies the bin's response behavior, requires a bin token (implies authentication), and mentions reset behavior. Lacks details on side effects or idempotency, but adequate for this 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?

Two sentences, front-loaded with the key action and purpose. No redundancy. Every word adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (5 params, no output schema), the description covers purpose, use cases, parameter semantics, and behavioral context effectively. No gaps for typical usage.

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 100% with good descriptions for each parameter. The description adds context by grouping them and noting default behavior, but does not significantly enhance understanding 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 configures the HTTP response a bin returns, specifying status code, content-type, and body. It distinguishes from sibling tools (clear_bin, create_bin, get_requests) which have different purposes.

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 says to use it for testing how a webhook sender handles specific responses (e.g., 500, JSON reply). Mentions resetting to default 200. Does not explicitly state when not to use, but context is clear.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool targets a distinct operation on bins: create, read requests, and clear requests. There is no overlap in functionality.

Naming Consistency5/5

All tools use a consistent verb_noun pattern with lowercase underscores (clear_bin, create_bin, get_requests).

Tool Count5/5

Three tools cover the essential operations for a capture bin service perfectly without unnecessary extras.

Completeness4/5

Core operations (create, read, clear) are present, but missing a bin deletion tool is a minor gap that agents can work around by creating a new bin.

Resources