Skip to main content
Glama

Add a website

add_website
Destructive

Register a website with the organization without running an audit (run_audit registers automatically, so this is only needed to set a site up ahead of time). Returns the website_id. Calling it again for the same domain returns the existing website, and a kind or scope passed again replaces the stored one. Pass kind to classify it as owned or prospect up front. On a plan with scheduled audits, a NEW site's recurring audits switch on by themselves after its first successful audit, and each of those runs costs credits: tell the user before calling this; update_website_settings with schedule "off" turns them off. The result's scheduled_audits field reports what was set.

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

Input Schema

NameRequiredDescriptionDefault
urlYesWebsite URL to register, e.g. https://example.com (scheme optional).
kindNoClassify the site: 'owned' for something the user runs and monitors, 'prospect' for a lead or competitor. Filterable in list_websites. Unclassified sites read as 'owned', so only an explicit 'prospect' makes a site show up in a prospect cleanup. Re-calling with a different value reclassifies it.
scopeNoThe website's stored crawl scope, used by every later audit of it. 'discover' follows links; 'sitemap' audits only the URLs the sitemap publishes. Omit to leave an existing site's setting unchanged (a new site starts on 'discover'). Re-calling with a different value updates it. Owners and admins only: for any other role the site is still added, on its current or default scope, and scope_note says the scope was not applied.
start_urlNoThe URL you were originally given, when `url` is where it redirected to (a short link or an old domain). The website is kept under `url`'s domain and this host is remembered as an alias, so a later call with the old URL finds the same website instead of making a second. http(s) only; ignored when it names the same site.
follow_redirectNoConsent to follow a redirect to ANOTHER site. The server follows the URL's redirects (up to 5, never to a private address) when you gave no start_url: within one site (http to https, apex to www) it just registers the final URL; to a different registrable domain it answers status "redirected" with the destination and creates nothing until you call again with follow_redirect: true. The original host is kept as an alias. A loop, a refused hop or a timeout registers the URL as sent and says why in redirect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / scope / description
      Previous value: -"The website's stored crawl scope, used by every later audit of it. 'discover' follows links; 'sitemap' audits only the URLs the sitemap publishes. Omit to leave an existing site's setting unchanged (a new site starts on 'discover'). Re-calling with a different value updates it."New value: +"The website's stored crawl scope, used by every later audit of it. 'discover' follows links; 'sitemap' audits only the URLs the sitemap publishes. Omit to leave an existing site's setting unchanged (a new site starts on 'discover'). Re-calling with a different value updates it. Owners and admins only: for any other role the site is still added, on its current or default scope, and scope_note says the scope was not applied."
  2. Changed1 schema field changed
    • addedInput schema / properties / follow_redirect
      Added value: +{
      +  "description": "Consent to follow a redirect to ANOTHER site. The server follows the URL's redirects (up to 5, never to a private address) when you gave no start_url: within one site (http to https, apex to www) it just registers the final URL; to a different registrable domain it answers status \"redirected\" with the destination and creates nothing until you call again with follow_redirect: true. The original host is kept as an alias. A loop, a refused hop or a timeout registers the URL as sent and says why in redirect.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / start_url
      Added value: +{
      +  "description": "The URL you were originally given, when `url` is where it redirected to (a short link or an old domain). The website is kept under `url`'s domain and this host is remembered as an alias, so a later call with the old URL finds the same website instead of making a second. http(s) only; ignored when it names the same site.",
      +  "maxLength": 2048,
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +{}
    • addedInput schema / properties / scope
      Added value: +{
      +  "description": "The website's stored crawl scope, used by every later audit of it. 'discover' follows links; 'sitemap' audits only the URLs the sitemap publishes. Omit to leave an existing site's setting unchanged (a new site starts on 'discover'). Re-calling with a different value updates it.",
      +  "enum": [
      +    "discover",
      +    "sitemap"
      +  ],
      +  "type": "string"
      +}
  5. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  6. Changed1 schema field changed
    • addedInput schema / properties / kind
      Added value: +{
      +  "description": "Classify the site: 'owned' for something the user runs and monitors, 'prospect' for a lead or competitor. Filterable in list_websites. Unclassified sites read as 'owned', so only an explicit 'prospect' makes a site show up in a prospect cleanup. Re-calling with a different value reclassifies it.",
      +  "enum": [
      +    "owned",
      +    "prospect"
      +  ],
      +  "type": "string"
      +}
  7. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only flag the write/destructive profile; the description adds the substantive behavior: idempotency (a repeat call returns the existing website), that re-passed kind/scope overwrite stored values, that scheduled audits self-enable after a first successful audit and consume credits, and that the result's scheduled_audits field reports the outcome. That is exactly the kind of consequence disclosure an agent needs before a non-readOnly call.

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?

Dense but front-loaded: purpose and sibling contrast come first, then idempotency, then the credit warning. Every sentence carries information, though the single unbroken paragraph and the late-arriving credit warning make it slightly harder to scan than it could be.

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 5-parameter mutation tool with no output schema, the description covers return value ('Returns the website_id'), the scheduled_audits field, idempotency, overwrite semantics, and the redirect/status outcomes. Nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so the schema already documents url, kind, scope, start_url, and follow_redirect in depth, including enums and the owner/admin caveat for scope. The description restates the kind/scope overwrite behavior ('a kind or scope passed again replaces the stored one') but adds little the schema does not already carry, so the baseline 3 applies.

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 ('Register a website with the organization') and immediately contrasts it with the sibling that does the same thing plus more ('run_audit registers automatically, so this is only needed to set a site up ahead of time'). An agent can distinguish the two without opening either schema.

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?

Gives the exact when-to-use condition (setting a site up ahead of time), names the alternative that makes this unnecessary (run_audit), and adds when-not context by pointing to update_website_settings with schedule "off" for turning audits off. It also warns to notify the user about credit costs before calling.

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.