Skip to main content
Glama

Get tenant context

get_tenant_context
Read-onlyIdempotent

Returns the authenticated inviomail tenant, granted MCP permissions, and tool allowlist. invio is a short name for inviomail.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
tenantYes
requestIdYes
mcpAccessIdYes
permissionsYes
toolAllowlistYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/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 fully covered structurally. The description adds one genuinely useful behavioral fact beyond that: the result is scoped to the authenticated principal's permissions and allowlist, i.e. output varies per caller. It does not state auth requirements, failure modes when unauthenticated, or caching/staleness behavior.

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?

The core capability is stated in the first sentence with no preamble, which is exactly the right front-loading. The trailing glossary sentence ("invio is a short name for inviomail") is marginally useful terminology disambiguation but is not about this tool's behavior and does not earn a permanent slot in a per-tool description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no prose explanation, and with zero parameters the schema burden is minimal. What is missing is the operational context that makes this tool actionable: when in a session to call it and how the returned allowlist should influence subsequent tool selection. Without that, the definition is accurate but under-equips the agent for the tool's actual purpose.

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 there is nothing for the description to disambiguate; the baseline for a no-param tool applies. The description correctly spends no words on parameter explanation.

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 names a specific verb ("Returns") and three concrete resources: the authenticated tenant, granted MCP permissions, and the tool allowlist. That is far more specific than a tautology, and the sibling names (all resource-fetching content tools) make it clear this one is about session/identity context. It stops short of 5 only because it never frames the purpose in terms of the agent's task (e.g. bootstrapping).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: nothing says to call this first to discover which sibling tools are permitted, nor any condition under which it should be skipped. An agent must infer the bootstrap role from the returned-field list alone. This is the definition's largest gap, since the tool's whole value is guiding subsequent tool selection.

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