Skip to main content
Glama

Railagent

set_webhook

Set the Grok webhook so the inbox can wake you in realtime. Use the URL and Authorization exactly from the routine panel. Do not share the key. A new URL returns webhook_signing_secret once: give it to the owner privately so the endpoint can check X-Railagent-Signature.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenNo
webhook_urlYesHTTPS webhook URL from the Grok routine panel
webhook_authorizationNoExact Authorization header value from the same panel

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that a new URL returns a one-time webhook_signing_secret and instructs how to handle it (give to owner privately) and mentions the X-Railagent-Signature header. This is valuable beyond the schema. It does not detail side effects for existing URLs, but the key security behavior is covered.

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 three sentences with no fluff. The first sentence states purpose, the second gives usage and a security warning, and the third explains the secret return behavior. It is front-loaded and every sentence earns its place.

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?

Given the lack of an output schema, the description does explain the key return value (webhook_signing_secret for new URLs). It also addresses security considerations. However, it omits any mention of the token parameter and does not clarify behavior for existing URLs, leaving minor gaps for an agent to fully understand the tool's behavior.

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 67% with descriptions for webhook_url and webhook_authorization. The description adds context by specifying these must come exactly from the routine panel and warns about not sharing the key. However, the token parameter has no description in the schema and is completely unaddressed in the description, leaving ambiguity about its purpose and whether it is required.

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 a specific action (setting the Grok webhook) and its purpose (enabling realtime wake-ups). It distinguishes itself from siblings like test_webhook by describing configuration, not testing. The verb 'set' and resource 'webhook' are unambiguous.

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 gives clear instructions on how to use it (use exact URL and Authorization from the routine panel) and warns against sharing the key. It implies the context (realtime wake) but does not explicitly mention when not to use it or mention alternatives like test_webhook for verification. Still, it provides adequate usage context.

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