Skip to main content
Glama

Create a webhook endpoint

tarkle_create_webhook
Idempotent

Add a webhook endpoint: from then on Tarkle sends the named events for this workspace to the address, signed with a secret. events is required: name each one. Asks for confirmation first: the first call creates nothing; show the user the host and the events, then call again with the same inputs and the confirmationCode from the first answer. The signing secret is NEVER returned by this server. After creating, tell the user to open Settings > API > Webhooks in Tarkle and use "New signing secret" on the endpoint's row menu to see its secret once. If an endpoint with the same address and events already exists, that one is returned and nothing is created. Webhooks send signed event data from the workspace to an outside address. Only workspace Owners and Admins can manage them.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspaceId": "<workspaceId>",
      "url": "<url>",
      "events": "<events>"
    },
    "name": "tarkle_create_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe https address Tarkle sends events to.
eventsYesThe event names to send, named exactly. Ask the user which events they want.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
descriptionNoA short note about what the endpoint is for. null leaves it empty.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.
confirmationCodeNoThe code from the first answer of this tool for these exact inputs. Send it only after the user approved sending these events to this host.

Output Schema

NameRequiredDescriptionDefault
webhookNo
alreadyExistedNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations, which only say it is a non-destructive, idempotent, open-world write. The description discloses the two-phase confirmation handshake, that the signing secret is NEVER returned by the server, the exact UI path to retrieve it, and the dedupe behavior on existing endpoints.

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?

Front-loads what the tool does and the required input, then the confirmation protocol, then the secret caveat and dedupe rule. Every sentence is load-bearing, with no redundant restatement of the schema.

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

Completeness5/5

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

For a mutation with a confirmation handshake and a secret-handling caveat, all the non-obvious behavior an agent needs is present. An output schema exists, so the absence of return-format detail is appropriate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description adds real value by emphasizing that events is required and must be named individually, and by explaining how confirmationCode must be reused from the first answer. It reinforces rather than duplicates the schema's meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ("Add a webhook endpoint") and defines the ongoing effect precisely: Tarkle sends the named events for this workspace to the address, signed with a secret. It is clearly distinct from tarkle_update_webhook or tarkle_delete_webhook in behavior, though it never explicitly routes the agent to those siblings by name.

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?

Gives strong operational context: only Owners and Admins manage webhooks, the first call is a no-op confirmation, and a duplicate address+events returns the existing endpoint. It stops short of naming alternatives (e.g. use tarkle_update_webhook to change an existing endpoint), so the when-versus-alternative guidance is implicit rather than explicit.

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.