Skip to main content
Glama

Webhook Toolkit

Set the HTTP response

set_webhook_response

Choose what the webhook URL answers to callers (status code, body, content type) — e.g. return 500 to test the sender's retries, or a specific JSON/XML body the service expects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
tokenYes
statusNo
content_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description must disclose behavior on its own. It states the core effect (sets the response to callers), but does not mention that it overwrites any existing configuration, whether changes take effect immediately, or potential side effects. The required token parameter is also not explained, leaving some behavioral ambiguity.

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 entire description is a single, well-structured sentence that front-loads the core function and uses an em-dash to give illustrative examples. Every word earns its place; there is no filler or redundancy.

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 simple setter with four parameters (one required), no annotations, and no output schema, the description covers the main parameters and gives usage guidance. However, the missing token explanation and lack of any safety or persistence notes leave gaps that could affect correct invocation, especially for a mutation tool.

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 0%, so the description must compensate. It adds meaning to status, body, and content_type by tying them to concrete scenarios, but it entirely omits the required 'token' parameter, which is critical for identifying which webhook URL to configure. Partial compensation, not full.

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 action (choose/set) on a specific resource (what the webhook URL answers to callers) and lists the key fields (status code, body, content type). The concrete examples make it unambiguous and distinct from sibling tools like create_webhook_url or get_webhook_request.

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?

Provides practical use cases ('return 500 to test the sender's retries, or a specific JSON/XML body the service expects'), giving clear context for when to use the tool. It does not explicitly mention alternatives or exclusions, but the examples adequately signal typical invocation scenarios.

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.