Skip to main content
Glama

Set Project Site

project_set_site
Idempotent

Attaches a site to a project and makes it the project's target: the domain its keyword positions are computed for. site is a domain or URL such as example.com or https://www.example.com/; only its host is kept as typed, and www.example.com and example.com are two attachments, but the positions computed for the target do not depend on which was typed: a result on the site with or without www, or on a host under it, is the site's (blog.example.com counts for example.com; notexample.com and example.com.evil.test do not). A site already attached is not attached twice; sites attached earlier stay attached, only the target changes. Observations recorded before a site was attached carry no position, and those recorded for a previous target are kept but not used for the new one: a saved keyword shows a position after a call with this project_id observes it again. Repeating the call is safe. Free; nothing is fetched from Google.

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": {
      "project_id": "<project_id>",
      "site": "<site>"
    },
    "name": "project_set_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesThe site to track, a domain or URL.
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output.
project_idYesProject ID, as listed by projects_list; it must belong to the authenticated organization.
idempotency_keyNoOptional and ignored: this call never charges, and a key does not make a repeated call safe.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations it discloses non-obvious effects: earlier attachments survive and only the target changes, observations from a previous target are retained but excluded from the new target, and pre-attachment observations carry no position. It also states cost and side-effect boundaries ("Free; nothing is fetched from Google"), which annotations cannot convey.

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?

The key effect lands in the first clause and the rest reads as purposeful consequences rather than filler. It is a single dense paragraph of long compound sentences, which costs some scannability for a reader skimming to the behavior it cares about.

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?

For a four-parameter mutation with annotations but no output schema, the description covers side effects, idempotency, and historical-data implications thoroughly. The one gap is that it never says what the call returns or what the new target state looks like in the response.

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 coverage is 100%, so a 3 is the floor, and the description earns more by explaining the semantics of site: only the host is kept as typed, www and non-www are distinct attachments yet equivalent for position matching, and subdomains roll up while lookalike hosts (notexample.com, example.com.evil.test) do not. verbosity and idempotency_key are left to the schema, which already covers them adequately.

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?

"Attaches a site to a project and makes it the project's target" gives a specific verb, resource, and resulting state, then defines the target as "the domain its keyword positions are computed for." An agent knows exactly what changes and why it matters, with no other site-attachment sibling to confuse it with.

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?

It gives concrete usage context: call it before positions can exist ("a saved keyword shows a position after a call with this project_id observes it again") and it is safe to repeat. It does not set an explicit when-not-to-call condition, but none of the named siblings offers an overlapping attach capability, so the missing exclusion is minor rather than misleading.

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.

Resources