Skip to main content
Glama

Switch brand

flow_switch_brand
Idempotent

Makes another brand this connection covers the active one; every tool then reads and changes that brand only. Call it only when the user names the brand to use, never on your own, not even to look something up. flow_whoami lists the brands.

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": {
      "brandId": "<brandId>"
    },
    "name": "flow_switch_brand"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandIdYesThe brand's id, from flow_whoami

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds the key behavioral fact the annotations do not: the switch is connection-global and scopes all subsequent tool calls to that brand, which is essential for an agent to reason about side effects. Annotations cover idempotency and non-destructiveness, so the remaining gap is only failure behavior for an unknown brandId.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the effect, then the guardrail, then the pointer to the discovery tool. Every sentence carries distinct, necessary information.

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 one-parameter, annotation-covered, output-schema-less tool, it supplies the crucial global-state semantics and the guardrail against autonomous switching. Minor missing pieces are what happens if the brandId is invalid or unknown.

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% and the brandId description already says it comes from flow_whoami, so the description's mention of that listing tool largely restates the schema. It adds no format or constraint detail beyond the schema's integer/exclusiveMinimum definition.

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 ('makes another brand ... the active one') and immediately explains the consequence: every tool then reads and changes that brand only. A reader can distinguish it from flow_whoami, which is named as the listing 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?

Explicit when-to-use ('only when the user names the brand to use'), explicit when-not ('never on your own, not even to look something up'), and points to flow_whoami as the discovery alternative. Nothing is left to inference.

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