Skip to main content
Glama

create-webhook-subscription

Set up a webhook subscription to receive POST requests when workouts are created. Configure your endpoint URL and optional auth token to get notified automatically.

Instructions

Create a new webhook subscription for this account. The webhook will receive POST requests when workouts are created. Your endpoint must respond with 200 OK within 5 seconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe webhook URL that will receive POST requests when workouts are created
authTokenNoOptional auth token that will be sent as Authorization header in webhook requests
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral disclosure burden. It adds useful details like the webhook receiving POST requests and the 5-second response requirement, but omits information about what happens on duplicate subscriptions, whether the subscription is immediately active, or the response format/return value. This is a partial disclosure.

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, each earning its place: the core action, the event trigger, and a critical endpoint requirement. It is front-loaded with the purpose and free of 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?

The tool has no output schema and no annotations, so the description needs to explain return values and side effects. It covers the endpoint behavior but does not mention what the response contains (e.g., subscription ID), permissions needed, or how to manage existing subscriptions. For a create operation with 2 parameters and straightforward behavior, this is a middle ground.

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 has 100% parameter description coverage for both 'url' and 'authToken', so the baseline is 3. The description does not add meaning beyond the schema, but it reinforces the URL's behavior via the 200 OK requirement. No additional parameter semantics are provided.

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 ('Create') and the resource ('webhook subscription'), and adds specific context about the webhook receiving POST requests for workout creation events. This distinguishes it from sibling tools like get-webhook-subscription and delete-webhook-subscription.

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?

The description implies the use case (to receive notifications when workouts are created) but does not explicitly state when to use it versus alternatives or any exclusions. It provides context but no explicit selection guidance.

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/rwestergren/hevy-mcp'

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