Skip to main content
Glama

Select brand

select_brand
Read-onlyIdempotent

Find brand workspaces the organiser owns or administers when the user has not chosen one. Returns brand records and access roles; after they choose, call set_context with brandId and brandName. This does not select a brand itself.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "select_brand"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
itemsYesThe rows returned by this list operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "items": {
      +      "description": "The rows returned by this list operation.",
      +      "items": {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "id": {
      +                "description": "Brand identifier."
      +              },
      +              "name": {
      +                "description": "Brand name."
      +              },
      +              "role": {
      +                "description": "Your role for the brand."
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": [
      +              "array",
      +              "string",
      +              "number",
      +              "boolean",
      +              "null"
      +            ]
      +          }
      +        ]
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "items"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds what the annotations cannot: it returns brand records plus access roles, and it is a discovery step rather than a mutation. It does not discuss result ordering, empty-result behavior when the organiser administers no brands, or pagination, which keeps it below a 5.

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?

Two sentences, front-loaded with the purpose and precondition, followed by the hand-off and the explicit non-behavior. Nothing is repeated from the annotations and no sentence is expendable.

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?

This is a zero-parameter read tool with a declared output schema, so the description need not explain return shape. It still supplies the access-scope semantics (owned or administered), the precondition, and the follow-up call, which is everything an agent needs to place it correctly in the brand-selection flow.

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?

The tool takes zero parameters, so the baseline is 4; the description correctly signals a no-argument call. It also names the brandId and brandName values needed by the follow-up set_context call, which is useful downstream context even though it is not an input here.

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?

The description states a specific verb and resource ('Find brand workspaces the organiser owns or administers') and scopes it to the precondition 'when the user has not chosen one'. The final sentence, 'This does not select a brand itself,' distinguishes it from set_context, which is the sibling that actually persists the choice.

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 gives an explicit trigger ('when the user has not chosen one') and an explicit next step: after the user chooses, call set_context with brandId and brandName. The negation that it does not itself select a brand prevents the most likely misuse, so both when-to-use and when-not are covered.

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