Skip to main content
Glama

Choose an organization

select_subject
Idempotent

Select the organization later merchant tools use. Requires sign-in and membership; returns ok and organization_id on success. Membership is checked again on later calls.

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": {
      "organization_id": "<organization_id>"
    },
    "name": "select_subject"
  }
}

Input Schema

NameRequiredDescriptionDefault
organization_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, it discloses the auth/membership gate, the return payload (ok and organization_id), and the non-obvious fact that membership is re-validated on subsequent calls, so a selection can later become invalid. It omits failure behavior for a nonexistent or unauthorized organization, which is the remaining gap.

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 action and its effect, then prerequisites, then outcome. Every clause carries distinct information and none restates the schema or annotations verbatim.

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 single-parameter, non-destructive selection tool with no output schema, the description covers effect, auth requirements, and return shape adequately. The missing piece is where to obtain a valid organization_id and what happens on rejection.

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% for the single parameter organization_id, so the description must carry the load. It only mentions organization_id as part of the return value and never says the parameter must be a UUID or that it should come from list_subjects, leaving the agent to infer the source of a valid identifier.

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?

The description gives a specific verb and resource ("Select the organization") and states the consequence (later merchant tools operate against it). It is distinguishable from the sibling list_subjects by implying state change rather than enumeration, though it never says so explicitly.

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 establishes ordering context (this must precede merchant tool calls), which is the key when-to-use signal, and names the prerequisites: sign-in and membership. It stops short of naming alternatives such as list_subjects as the way to discover a valid organization_id, and gives no when-not-to-use case.

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