Skip to main content
Glama

Create claim link

create_claim_code
Destructive

Create a claim link for a landing page you built, so someone else can take ownership of it — no card required.

This powers the "I built you a page" outreach: you build and publish a landing page on your own account, then mint a claim link bound to that page. You share the link; when the recipient signs up through it, that exact page — same URL, same content they already saw — moves into their account immediately. Claiming is free: the recipient gets the Free plan with no card (the page shows a small Convika bar at the bottom; analytics and starter AI-edit credits included). The response's recipientGets field states the exact terms; quote it when you tell the recipient what they get.

  • The page must already exist on your account. Build it with create_landing_page_preview, then publish_site to production so the recipient can see it live before they sign up.

  • The link is single-use and expires in 14 days by default — tell the recipient the deadline.

  • What a claim changes, for good: the page leaves this workspace for the recipient's at the same URL, so the page you showed them in your message becomes theirs, with its saved versions, forms and their entries, goals, and analytics. This workspace can't take it back, and a link can't be cancelled once made, so make one only for a page the user means to give away.

  • A page nobody claims is unpublished 16 days after its link expires (about 30 days after the link is made, with the default 14 days). It stays in this workspace and can be published again.

  • Returns the signup URL to send, plus the code and its limits.

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

Input Schema

NameRequiredDescriptionDefault
siteIdYesThe ID of the landing page to bind to the claim link. Must be a page on your account.
maxClaimsNoHow many times the link can be claimed. Defaults to 1 (single-use).
expiresInDaysNoDays until the link expires. Defaults to 14 (the claim window communicated to the recipient).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • changedInput schema / properties / siteId / description
      Previous value: -"The ID of the landing page to bind to the claim link. Must be a site on your account."New value: +"The ID of the landing page to bind to the claim link. Must be a page on your account."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and non-idempotent, but the description goes well beyond them: the transfer is permanent, the workspace cannot take the page back, a link cannot be cancelled, the link is single-use by default, and an unclaimed page is unpublished ~30 days out. It also discloses recipient-side terms (Free plan, no card, Convika bar) and that the recipientGets field carries the exact terms. The only gap is a missing explicit note on permissions or failure modes.

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?

Front-loaded with purpose, then bullets for prerequisites, irreversibility, and lifecycle — easy to scan. It runs long and the outreach-marketing framing in the opening sentences is somewhat expendable, but most content is decision-relevant.

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?

Despite no output schema, the description states what is returned (signup URL, code, limits) and points to the recipientGets field for terms. For a destructive, irreversible transfer operation, the lifecycle (expiry, unclaimed-page unpublish, re-publishable) is fully covered.

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 siteId, maxClaims, and expiresInDays are already documented with their defaults. The description reinforces the defaults (single-use, 14 days) and adds the operational note to communicate the deadline to the recipient, but introduces no new syntax or constraints beyond the schema.

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 first sentence gives a specific verb and resource ('Create a claim link for a landing page') plus the scope of the effect ('someone else can take ownership of it'). The second paragraph clarifies the mechanism — the page moves to the recipient's account at the same URL — which distinguishes it from generic page-creation siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It names explicit prerequisites (the page must already exist; use create_landing_page_preview then publish_site to production) and an explicit when-not: 'make one only for a page the user means to give away.' The outreach scenario is spelled out so the agent can recognize the intended situation.

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.