Skip to main content
Glama

Create BurrowGuard site

create_burrowguard_site

Create a BurrowGuard site for a form. Free. Returns the public site_key for the page and the secret, shown once. The secret belongs in the app's environment as GROUNDMAIL_BURROWGUARD_SECRET. Install guide: https://docs.groundmail.dev/burrowguard

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": {
      "name": "<name>"
    },
    "name": "create_burrowguard_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesA label for this form, for example "Sign-up form"
watch_onlyNoRun every check and show what would be blocked, without blocking anyone: verify always answers success. Good for the first week on a live form
allowed_hostnamesNoHostnames the form runs on. Include localhost while building. Required unless email_checks_only is true.
email_checks_onlyNoFor a form already behind a captcha: no script, tag or box, and verify takes just the email. allowed_hostnames can then be left out
block_free_webmailNoFor B2B forms: turn away Gmail, Outlook and other personal addresses
allow_data_center_ipsNoLet through visitors on hosting and cloud networks

Output Schema

NameRequiredDescriptionDefault
idYesSite id
nameYesLabel for this form
secretYesSite secret (gm_bg_…), returned once. Put it in the app environment as GROUNDMAIL_BURROWGUARD_SECRET
site_keyYesPublic site key (gm_site_…): goes in the page
created_atNoCreated at (ISO 8601)
watch_onlyNoEvery check runs and is recorded, and verify always answers success
last_check_atNoWhen this site last had a check (ISO 8601)
allowed_hostnamesYesHostnames the form runs on
email_checks_onlyNoNo script or token: verify takes the email and runs the address checks only
block_free_webmailNoTurns away personal addresses such as Gmail and Outlook
allow_data_center_ipsNoLets through visitors on hosting and cloud networks

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations by disclosing that the call returns a public site_key plus a secret that is shown only once, and that the secret must be stored in the environment as GROUNDMAIL_BURROWGUARD_SECRET. That one-time-visibility warning is exactly the kind of non-obvious behavior an agent needs and cannot get from readOnlyHint/destructiveHint alone.

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?

Three short sentences, front-loaded with what the tool does, then the return/secret handling, then a link for depth. Nothing is redundant and the most operationally important fact (secret shown once) is placed early.

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?

An output schema exists, so return values need not be enumerated, yet the description still flags the two return fields and the one-time secret constraint. The main residual gap is lifecycle behavior on duplicates or re-creation, which matters given idempotentHint=false but is not addressed.

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 the parameter documentation burden is already carried by the schema, which explains name, watch_only, allowed_hostnames, email_checks_only, block_free_webmail and allow_data_center_ips in detail. The description adds no parameter-level meaning of its own, so the baseline 3 applies.

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?

States a specific verb and resource ("Create a BurrowGuard site") and adds the scope "for a form", which makes it clearly distinct from update_burrowguard_site and the list_* siblings. It does not explicitly name an alternative, but the create-vs-update distinction is inferable from the sibling names and the verb.

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?

Usage is implied rather than stated: the tool is for provisioning a site for a form, and the install-guide link signals a setup step. There is no explicit "use this when…" or "use update_burrowguard_site instead to change settings", and no guidance on what happens if a site already exists for the form.

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.