Skip to main content
Glama

searchconsole.sites.add

Adds a site to a user's Search Console sites via HTTP PUT, returning the API response as JSON; requests are blocked under read-only safety profiles.

Instructions

Adds a site to the set of the user's sites in Search Console [HTTP PUT] — updates the resource; refused under --readonly safety profiles. Returns the API's response resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: delete, get, list.

Input Schema

NameRequiredDescriptionDefault
queryNoExtra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe.
paramsNoParameter map merged into the request; typed parameters win.
dry_runNoReturn the request that would be sent, without sending it.
siteUrlYes[URL path segment] The URL of the site to add.
body_fileNoRead the request body from this file ('-' for stdin) instead of building one from the parameters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / siteUrl / description
      Previous value: -"The URL of the site to add."New value: +"[URL path segment] The URL of the site to add."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden and does well: it discloses the HTTP method, the read-only safety refusal, the return shape (API response resource as JSON), and the body-construction precedence between typed parameters, the params map, and body_file. It omits idempotency behavior and permission/ownership requirements, which matter for a write tool.

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?

Purpose is front-loaded in the first clause and every subsequent fragment carries information (safety refusal, return shape, body handling, siblings). The single long em-dash-chained sentence is dense but not padded.

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?

With no annotations and no output schema, the description supplies the safety profile, mutation semantics and return type an agent needs. Remaining gaps are the ownership-verification requirement and idempotency, which are relevant for a Search Console site addition but not fatal to correct invocation.

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 siteUrl, params, query, dry_run and body_file. The description's body-construction sentence mostly restates the schema's own 'typed parameters win' wording, adding little new meaning beyond emphasis on the precedence chain.

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 ('Adds a site to the set of the user's sites in Search Console') and explicitly enumerates the sibling operations on the same resource (delete, get, list), so an agent can distinguish it without opening other schemas. The HTTP PUT annotation further pins down the operation's semantics.

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?

The description gives a clear when-not ('refused under --readonly safety profiles') and names the alternative siblings over the same resource, which implies the read path for lookup. It stops short of stating prerequisites such as site ownership verification, which would complete the routing picture.

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

Deploy Server

Other Tools