Skip to main content
Glama

Switch to a site

select_site
Read-onlyIdempotent

Choose the site to work on, e.g. for "promvia select 2" or "promvia select client-b.com". site is a number from list_sites, a site id, a domain or a name (a unique part of one is enough). On a connected app the choice is stored for this connection: every site tool then works on this site, without a siteId, until another select_site. It changes no data in Promvia. With an API key nothing is stored and it returns the siteId to pass. Only sites this connection can use are matched; no match or several matches returns the candidates and changes nothing.

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

Input Schema

NameRequiredDescriptionDefault
siteYesA number from list_sites, a site id, a domain, or a site name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / site / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "number"
      +]
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the key behaviors an agent cannot infer: connection-scoped persistence, that it "changes no data in Promvia," that only sites available to this connection are matched, and that zero or multiple matches return candidates and change nothing. The API-key return of a siteId is also spelled out.

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 and consequence, then failure behavior, with zero filler sentences. It reads as a dense run of clauses rather than cleanly separated sentences, which slightly hurts scanability, but each clause carries distinct information.

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 single-parameter tool with no output schema, it covers what it does, persistence scope, mutation safety, return behavior under API-key auth, matching rules, and ambiguous/no-match failure modes. An agent has everything needed to call it correctly and interpret failure.

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 the baseline is 3, but the description adds real matching semantics: a number from list_sites, a site id, a domain, or "a unique part of one is enough," plus the constraint that only usable sites are matched. That partial/uniqueness behavior is not in the schema and materially affects how the agent should format the argument.

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?

"Choose the site to work on" names a specific verb and resource, and the definition immediately distinguishes the tool from list_sites by declaring that the argument is "a number from list_sites." An agent can tell this is a connection-scoped site selector rather than a listing or query tool.

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 states the operational consequence of using it ("every site tool then works on this site, without a siteId, until another select_site"), which implicitly tells the agent to call it before site-scoped calls and to re-call it to switch. It also splits guidance by auth mode: on a connected app the choice persists, while with an API key nothing is stored and the siteId must be passed instead.

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.