Skip to main content
Glama
Stener1

reai-mcp

by Stener1

Select the active company

reai_use_tenant
Read-onlyIdempotent

Set the active tenant for the session, validating access to prevent writing to the wrong company. Subsequent calls use this tenant unless a per-call tenantId overrides it.

Instructions

Set the tenant (company) that subsequent tool calls apply to, for the rest of this session. The id is validated against the tenants this token can actually reach, so a typo fails here rather than silently writing into the wrong company's books. Individual tools can still override it with their own tenantId argument.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tenantIdYesTenant id to make active. Get valid ids from reai_whoami.
Behavior4/5

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

Annotations already provide readOnlyHint, idempotentHint, and destructiveHint, but the description adds crucial behavioral context: the setting persists for the session, the tenantId is validated against reachable tenants (preventing typos), and per-tool overrides are possible. This goes beyond annotations.

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 concise sentences with the main action front-loaded, followed by valuable context (validation and override behavior). Every sentence earns its place with no fluff.

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 simple one-parameter tool with no output schema, the description fully covers the session effect, validation safeguards, and interaction with other tools. No important context is missing.

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 description coverage is 100%, and the schema already describes tenantId as the 'Tenant id to make active' and suggests using reai_whoami for valid ids. The description adds no further parameter semantics, so baseline 3 applies.

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 uses a specific verb ('Set') and resource ('tenant (company)'), clearly distinguishing this from sibling tools like reai_whoami which queries tenant info. It states exactly what the tool does: establishes the active tenant for subsequent calls.

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?

The description explains the session-scoped nature ('for the rest of this session') and that individual tools can override the setting, providing clear context for when to use it. It doesn't explicitly state exclusions or alternative tools, but the context is sufficient.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Stener1/reai-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server