Skip to main content
Glama

Get Tenant

get_tenant
Read-onlyIdempotent

Get one tenant by its NAME (as shown by list_tenants; a tenant id is also accepted when the name matches nothing). Returns the full tenant record — plan, locale, logo, mfa, payment status, trial, onboarded, owner and metadata. Fails with TENANT_NOT_FOUND when no tenant carries the name, and with TENANT_AMBIGUOUS when several do.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNoId of the Bridge app to act on for this call (see list_apps). Omit to use the current app.
nameYesTenant NAME from list_tenants (a tenant id is accepted as a fallback).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description goes beyond them by disclosing the resolution order for 'name' and two concrete failure modes (TENANT_NOT_FOUND, TENANT_AMBIGUOUS) — genuinely useful behavior that annotations cannot convey. It doesn't mention auth scope, so not 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, no filler, with the lookup key and its fallback front-loaded before the return contents and error conditions. Every clause carries information an agent needs.

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?

There is no output schema, and the description compensates by enumerating the returned fields (plan, locale, logo, mfa, payment status, trial, onboarded, owner, metadata) plus the two error outcomes. For a two-parameter read tool with rich annotations, nothing material 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%, so the baseline is 3. The description's extra detail is the precise fallback rule (id only used when the name matches nothing), which sharpens but largely restates the schema's own note; 'app' is not discussed in the description at all.

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 ('Get one tenant') and pins down the lookup key (NAME, with id as fallback), which immediately distinguishes it from the sibling list_tenants and update_tenant. An agent can tell what it retrieves without opening the schema.

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?

Tells the agent where the required identifier comes from ('as shown by list_tenants') and gives an explicit fallback condition (id accepted when the name matches nothing). It stops short of stating when to prefer this over list_tenants or other single-record getters, so it's clear context rather than full when/when-not guidance.

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.