Skip to main content
Glama

list_my_tenants

Read-only

Which tenants this connection may act in, and why: 'self' (its own), 'child' (a sub-account of it) or 'delegation' (an independent customer let it in, and can revoke that at any time). Shows which one is currently active, whether it may write there, and when a delegation expires. Call this before switch_tenant — the ids come from here.

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": "list_my_tenants"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context — that it reports the currently active tenant, whether writes are permitted there, and delegation expiry/revocability — which goes beyond the annotation set and tells the agent what state the response conveys.

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

Conciseness4/5

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

Roughly three short sentences, front-loaded with what is returned, then the sequencing rule last. Every clause carries information, though the parenthetical definitions make it slightly denser than a strict two-sentence statement.

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 no-parameter read tool with no output schema, the description covers what the tool returns (tenant types, active tenant, write permission, expiry) and the ordering constraint with switch_tenant. Nothing an agent needs in order to call it correctly is missing.

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?

There are zero parameters, so there is no parameter semantics to explain beyond the implicit fact that the scope is the current connection. That matches the baseline for a no-arg tool.

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 resource and verb in effect: lists the tenants this connection may act in, and enumerates the three relationship types it returns ('self', 'child', 'delegation'). This is distinguishable from switch_tenant, which consumes the ids, without opening either schema.

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?

Explicitly directs the agent to call this before switch_tenant and explains the dependency ('the ids come from here'). That is both a when-to-use rule and a named alternative, leaving nothing 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.