Skip to main content
Glama
dzisner
by dzisner

Roo — set webhook

roo_set_webhook

Configure a webhook that fires an HTTP request to your endpoint on every shortlink click. Provide the endpoint; defaults fill the rest and the redirect destination remains unchanged.

Instructions

Fire an HTTP request to endpoint on every click. Roo requires 8 fields; this tool defaults 7 of them — you only need to provide the endpoint. The webhook does NOT change where the shortlink redirects to; the destination is unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesShortlink id.
bodyNoRequest body as a raw STRING (JSON as a string, not an object). Default "{}".
nameNoDisplay name for the webhook (default: derived from context).
methodNoHTTP method (default POST).
headersNoCustom HTTP headers.
endpointYesWebhook target URL — Roo POSTs (or your chosen method) here on every click.
add_metadataNoInclude Roo click metadata (referrer, IP, etc.) in the webhook payload (default true).
content_typeNoBody content type (default application/json).
query_stringNoQuery-string parameters appended to endpoint.
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose useful behavioral context: most fields are defaulted, and the webhook does not alter the shortlink's redirect destination. However, it does not mention whether setting the webhook replaces an existing one, what permissions are needed, or what confirmation/error behavior to expect.

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 two sentences with no wasted wording. The most actionable information is front-loaded, and the clarifying note about the destination not changing is a valuable second sentence.

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?

The claim that 'you only need to provide the endpoint' conflicts with the input schema, which requires both id and endpoint. This is misleading for an agent and could lead to an invalid call. With 9 parameters, no annotations, and no output schema, the description leaves too much unsaid about side effects and setup prerequisites despite the rich schema.

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 100%, so the schema already explains every parameter in detail. The description adds only high-level context about defaults (7 fields defaulted) and endpoint semantics, but does not meaningfully improve per-parameter 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 states a specific verb and resource ('set webhook') and explains exactly what the tool does: fire an HTTP request to an endpoint on every click. The explicit clarification that it does not change the shortlink destination helps distinguish this from redirect-related sibling tools.

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?

The description clearly identifies the trigger context: use this when you want an HTTP request fired on every click. It also provides a when-not signal by stating that the redirect destination is unchanged, which helps an agent avoid misusing it as a redirect-setting tool. However, no explicit alternatives are named.

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/dzisner/roo-mcp'

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