Skip to main content
Glama
theYahia

paymongo-mcp

by theYahia

Update Webhook

update_webhook

Update an existing webhook's endpoint URL, event subscriptions, or enabled status. Provide the webhook ID and only the fields you want to change.

Instructions

Update a webhook's URL/events and/or enable/disable it. Provide any combination of url, events, enabled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoNew endpoint URL.
eventsNoReplacement event list.
enabledNoEnable (true) or disable (false) the webhook.
webhook_idYesWebhook ID (hook_...).
Behavior4/5

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

The annotation openWorldHint signals a real-world mutation, and the description aligns by saying 'update' and 'enable/disable'. It adds useful behavioral context with 'Provide any combination of url, events, enabled', which clarifies partial update semantics – an agent knows unspecified fields remain unchanged. This goes beyond the annotation, though it doesn't disclose validation or error behavior.

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 concise sentence that front-loads the action, states the resource, and lists the modifiable fields. Every word contributes, with no wasted space or repetition of the title/name.

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 simplicity of the tool (4 params, all documented, no output schema), the description is adequately complete. It covers what the tool does and partial update flexibility. It doesn't mention return values or error cases, but these are not critical for a straightforward update operation, and the schema and annotations already provide enough context.

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 a baseline of 3 applies. The description mentions url, events, and enabled, but does not add meaning beyond the schema's own descriptions. 'Any combination' is a slight addition, but the schema already indicates optionality. No extra syntax or constraints 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 explicitly states the verb 'update', the resource 'webhook', and the specific modifiable fields ('URL/events and/or enable/disable'). This clearly distinguishes it from sibling tools like create_webhook, get_webhook, and verify_webhook_signature.

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?

When to use this tool is implied by its name and purpose (updating an existing webhook), but it does not explicitly state alternatives or exclusions. It doesn't say 'use this instead of create_webhook for existing webhooks.' This is acceptable but not explicit, so it falls short of a 4.

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/theYahia/paymongo-mcp'

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