Skip to main content
Glama

sb_site_use

Idempotent

Switch the default site used by all tools; requires an sb_login account login.

Instructions

Switch the site every tool defaults to (needs the sb_login account login).

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_id": "<site_id>"
    },
    "name": "sb_site_use"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.112.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations only state readOnlyHint=false and idempotentHint=true; the description adds genuinely useful context beyond that by disclosing the global scope of the mutation ('the site every tool defaults to') and the login prerequisite. It still omits whether the choice persists across sessions, what happens with an invalid or unknown site_id, and any error behavior.

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?

A single short sentence with the effect front-loaded and the prerequisite in a parenthetical – no wasted words. It is arguably too terse given the undocumented parameter, but structurally it is clean.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool with no output schema, the description covers the core effect and the auth prerequisite, which is close to sufficient. The remaining gap is the source/format of site_id and the persistence semantics of the switch, both of which an agent would need to call this reliably.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the single 'site_id' parameter is completely undocumented, and the description only implicitly indicates that it names a site. It never says where to obtain a valid site_id (e.g., from sb_site_list) or what format is expected, so it fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Uses a specific verb ('Switch') plus resource ('site') and states the effect precisely: it changes the default site used by every other tool. That is enough for an agent to distinguish it from sb_site_list or sb_template_use, though it never names a sibling explicitly.

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

Usage Guidelines3/5

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

Provides a clear prerequisite in the parenthetical ('needs the sb_login account login'), which tells the agent when this call is callable. However, it gives no guidance on when to prefer this over other site-related tools or what happens if a different site is already active.

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