Skip to main content
Glama
js-cohn

Webhook.site MCP Server

by js-cohn

get_latest_request

Fetch the raw request body from the last request received for a Webhook.site token. Provide the token ID (and optional API key) to access the payload.

Instructions

Get the latest raw request body sent to a Webhook.site token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoOptional Webhook.site API key (or use WEBHOOK_SITE_API_KEY env var)
token_idNoThe Webhook.site token UUID (or use WEBHOOK_SITE_TOKEN_ID env var)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

There are no annotations, so the description must cover behavioral traits. It merely states that the tool gets the latest body, but does not mention error behavior when no requests exist, authentication requirements beyond the schema, or whether the operation is read-only. This lacks sufficient detail for a tool with no annotation support.

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, focused sentence with no redundant words or filler. It is front-loaded with the core action and resource, making it an efficient and appropriately sized description.

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

Completeness4/5

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

The tool is simple with only two optional parameters and an output schema, so the description covers the core operation. It does not include guidance on when to use it relative to siblings, which is a minor gap, but overall the description, schema, and output schema provide enough context for correct invocation.

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?

The input schema descriptions are complete (100% coverage) for api_key and token_id, including environment variable fallbacks. The description adds no extra parameter semantics, but the baseline of 3 is appropriate because the schema already fully documents the parameters.

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 uses a specific verb ('Get') and a specific resource ('raw request body sent to a Webhook.site token'), clearly distinguishing this from sibling tools like list_requests by focusing on 'latest' and 'raw body'. It precisely states what the tool does with no ambiguity.

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?

No explicit guidance is provided on when to use this tool versus list_requests or other siblings. However, the phrase 'latest' and 'raw request body' implies a specific use case of retrieving a single most recent request, which gives some contextual cue.

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/js-cohn/Webhook.site-FastMCP'

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