Skip to main content
Glama

Create endpoint

create_endpoint

Create a temporary webhook capture endpoint in the agent sandbox to receive and inspect test requests without an account. Captures up to 25 requests per endpoint and expires automatically.

Instructions

Create a temporary webhook capture endpoint in the agent sandbox (no account needed): up to 3 endpoints at a time, 25 captured requests each and 100 in all, deleted 24 hours after the sandbox was created. The first call registers the sandbox, which takes a few seconds of proof of work. Mock responses, notifications and signature verification need an account: see connect_account.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay name for the endpoint
siteNoWhich site's dashboard lists the endpoint: webhooks (webhooks.cc), mailhooks (mailhooks.cc) or both (the default when creating). Only the listing: its HTTP URL and email address work either way. Owner only to change.
ephemeralNoCreate a temporary endpoint that auto-expires
expiresInNoAuto-expire after this duration, for example "12h"
mockResponseNoOptional mock response to return when the endpoint receives a request
responseRulesNoConditional response rules. Each rule has conditions and a response. First matching rule wins.
signingHeaderNoCustom signature header name. Only used with generic-hmac provider.
signingSecretNoSigning secret (encrypted server-side, never returned); for discord, the application's public key (64 hex characters). Required when signingProvider is set.
notificationUrlNoURL to POST a JSON summary to after each captured request (e.g. Slack/Discord webhook)
signingProviderNoSigning provider for automatic signature verification

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changedv1.20.4
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / responseRules / items / properties / conditions / description
      Previous value: -"Conditions to evaluate (1-10)"New value: +"1 to 10 conditions. Each condition reads a field and compares it with value. field: method, path, header and query (with name), body, body_path (with path, a dot path such as data.object.status, items.0.sku or a[\"odd.key\"]), content_type, size. op: eq, neq, contains, not_contains, starts_with, ends_with, matches (glob: * one path segment, ** any, ? one character), regex (RE2, searched anywhere; (?i) ignores case), exists, not_exists (no value), gt, gte, lt, lte (numbers)."
    • removedInput schema / properties / responseRules / items / properties / conditions / items / properties / field / description
      Removed value: -"What to read: method, path, header (name), query (name), body (text), body_path (path into a JSON or form body), content_type, size"
    • removedInput schema / properties / responseRules / items / properties / conditions / items / properties / name / description
      Removed value: -"Header or query parameter name; the email part; spf, dkim or dmarc"
    • removedInput schema / properties / responseRules / items / properties / conditions / items / properties / op / description
      Removed value: -"eq, neq, contains, not_contains, starts_with, ends_with, matches (glob: * one path segment, ** any, ? one character), regex (RE2, searched anywhere; (?i) ignores case), exists, not_exists, gt, gte, lt, lte (numbers)"
    • removedInput schema / properties / responseRules / items / properties / conditions / items / properties / path / description
      Removed value: -"Dot path for body_path, e.g. data.object.status or items.0.sku or a[\"odd.key\"]"
    • removedInput schema / properties / responseRules / items / properties / conditions / items / properties / value / description
      Removed value: -"What to compare with (not for exists and not_exists)"
    • changedInput schema / properties / responseRules / items / properties / response / description
      Previous value: -"Response when conditions match"New value: +"The answer when the rule matches: status, body, headers, delay, as mockResponse"
    • removedInput schema / properties / responseRules / items / properties / response / properties / body / description
      Removed value: -"Response body (default: empty). {{ placeholders }} are filled in from the request: {{ json.id }} (a JSON or form body field), {{ body }}, {{ headers.user-agent }}, {{ query.page }}, {{ method }}, {{ path }}, {{ id }}, {{ uuid }}, {{ now }}; filters: | default: \"x\", | json, | lower, | upper, | truncate: 80"
    • removedInput schema / properties / responseRules / items / properties / response / properties / delay / description
      Removed value: -"Response delay in milliseconds (0-30000, default: none)"
    • removedInput schema / properties / responseRules / items / properties / response / properties / headers / description
      Removed value: -"Response headers (default: none); values may use {{ placeholders }} too"
    • removedInput schema / properties / responseRules / items / properties / response / properties / status / description
      Removed value: -"HTTP status code (100-599)"
    • changedInput schema / properties / signingProvider / description
      Previous value: -"Signing provider for automatic signature verification (e.g. stripe, github, shopify)"New value: +"Signing provider for automatic signature verification"
    • addedInput schema / properties / signingProvider / enum
      Added value: +[
      +  "stripe",
      +  "github",
      +  "shopify",
      +  "twilio",
      +  "slack",
      +  "paddle",
      +  "linear",
      +  "clerk",
      +  "discord",
      +  "vercel",
      +  "gitlab",
      +  "typeform",
      +  "standard-webhooks",
      +  "meta",
      +  "lemonsqueezy",
      +  "coinbase-commerce",
      +  "razorpay",
      +  "cal",
      +  "intercom",
      +  "telegram",
      +  "square",
      +  "hubspot",
      +  "mailgun",
      +  "calendly",
      +  "mux",
      +  "sentry",
      +  "bitbucket",
      +  "docusign",
      +  "adyen",
      +  "paypal",
      +  "resend",
      +  "workos",
      +  "generic-hmac"
      +]
    • changedInput schema / properties / signingSecret / description
      Previous value: -"Signing secret (encrypted server-side, never returned). Required when signingProvider is set."New value: +"Signing secret (encrypted server-side, never returned); for discord, the application's public key (64 hex characters). Required when signingProvider is set."
  2. Changed1 schema field changedv1.19.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed1 schema field changedv1.8.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Which site's dashboard lists the endpoint: webhooks (webhooks.cc), mailhooks (mailhooks.cc) or both (the default when creating). Only the listing: its HTTP URL and email address work either way. Owner only to change.",
      +  "enum": [
      +    "webhooks",
      +    "mailhooks",
      +    "both"
      +  ],
      +  "type": "string"
      +}
  4. Changed11 schema fields changedv1.5.0
    • changedInput schema / properties / mockResponse / properties / body / description
      Previous value: -"Response body string (default: empty)"New value: +"Response body (default: empty). {{ placeholders }} are filled in from the request: {{ json.id }} (a JSON or form body field), {{ body }}, {{ headers.user-agent }}, {{ query.page }}, {{ method }}, {{ path }}, {{ id }}, {{ uuid }}, {{ now }}; filters: | default: \"x\", | json, | lower, | upper, | truncate: 80"
    • changedInput schema / properties / mockResponse / properties / headers / description
      Previous value: -"Response headers (default: none)"New value: +"Response headers (default: none); values may use {{ placeholders }} too"
    • changedInput schema / properties / responseRules / items / properties / conditions / items / properties / field / description
      Previous value: -"Request field to match against"New value: +"What to read: method, path, header (name), query (name), body (text), body_path (path into a JSON or form body), content_type, size"
    • changedInput schema / properties / responseRules / items / properties / conditions / items / properties / field / enum
      Previous value: -[
      -  "method",
      -  "path",
      -  "header",
      -  "body_contains",
      -  "body_path",
      -  "query"
      -]New value: +[
      +  "method",
      +  "path",
      +  "header",
      +  "query",
      +  "body",
      +  "body_contains",
      +  "body_path",
      +  "content_type",
      +  "size"
      +]
    • changedInput schema / properties / responseRules / items / properties / conditions / items / properties / name / description
      Previous value: -"Header name or query param name (required for header/query, max 256 chars)"New value: +"Header or query parameter name; the email part; spf, dkim or dmarc"
    • changedInput schema / properties / responseRules / items / properties / conditions / items / properties / op / description
      Previous value: -"Comparison operator"New value: +"eq, neq, contains, not_contains, starts_with, ends_with, matches (glob: * one path segment, ** any, ? one character), regex (RE2, searched anywhere; (?i) ignores case), exists, not_exists, gt, gte, lt, lte (numbers)"
    • changedInput schema / properties / responseRules / items / properties / conditions / items / properties / op / enum
      Previous value: -[
      -  "eq",
      -  "contains",
      -  "starts_with",
      -  "matches",
      -  "exists"
      -]New value: +[
      +  "eq",
      +  "neq",
      +  "contains",
      +  "not_contains",
      +  "starts_with",
      +  "ends_with",
      +  "matches",
      +  "regex",
      +  "exists",
      +  "not_exists",
      +  "gt",
      +  "gte",
      +  "lt",
      +  "lte"
      +]
    • changedInput schema / properties / responseRules / items / properties / conditions / items / properties / path / description
      Previous value: -"JSON dot-notation path (required for body_path, max 256 chars)"New value: +"Dot path for body_path, e.g. data.object.status or items.0.sku or a[\"odd.key\"]"
    • changedInput schema / properties / responseRules / items / properties / conditions / items / properties / value / description
      Previous value: -"Value to compare against (required unless op is \"exists\", max 4096 chars)"New value: +"What to compare with (not for exists and not_exists)"
    • changedInput schema / properties / responseRules / items / properties / response / properties / body / description
      Previous value: -"Response body string (default: empty)"New value: +"Response body (default: empty). {{ placeholders }} are filled in from the request: {{ json.id }} (a JSON or form body field), {{ body }}, {{ headers.user-agent }}, {{ query.page }}, {{ method }}, {{ path }}, {{ id }}, {{ uuid }}, {{ now }}; filters: | default: \"x\", | json, | lower, | upper, | truncate: 80"
    • changedInput schema / properties / responseRules / items / properties / response / properties / headers / description
      Previous value: -"Response headers (default: none)"New value: +"Response headers (default: none); values may use {{ placeholders }} too"
  5. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare that this is a non-read-only, non-idempotent, non-destructive creation, so the description carries real weight and delivers: quotas (3 endpoints, 25 requests each, 100 overall), expiry tied to sandbox creation time, and a disclosed latency cost (proof of work on the first call takes a few seconds). That quota and latency detail is exactly the behavior an agent cannot infer from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tightly packed sentences, front-loaded with the primary action and its limits before the account caveat. Slight redundancy between "no account needed" and the later account requirement, but each clause carries distinct information.

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?

For a 10-parameter tool with nested objects and no output schema, the description covers constraints well but never indicates what a successful call returns (endpoint URL, email address, id), which an agent needs in order to actually use the created endpoint. That return-shape gap keeps it at minimum-viable-plus.

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 description coverage is 100%, so the baseline is 3; the description adds meaning beyond the schema by stating that mockResponse, responseRules/notificationUrl and signingProvider parameters only function with an account, which the per-parameter descriptions do not say. It adds no further detail on name, site or ephemeral, which stay schema-only.

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?

States a specific verb and resource ("Create a temporary webhook capture endpoint in the agent sandbox") plus concrete scope limits: 3 endpoints, 25 requests each, 100 total, 24-hour expiry. An agent can distinguish this from get_endpoint/list_endpoints without opening any schema.

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 clear usage context: no account needed for the basic capture, but mock responses, notifications and signature verification require an account, with an explicit pointer to connect_account. It does not explicitly say when to prefer this over other creation paths, but the conditions for the free tier versus the account path are spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.