Skip to main content
Glama

Create tenant

create_tenant

Create a tenant for one of your customers. Sends and domains name it by its external id.

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": {
      "external_id": "<external_id>"
    },
    "name": "create_tenant"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay name
metadataNoYour own data about the tenant (JSON object); null to clear
daily_limitNoMost recipients per UTC day for this tenant; null for no tenant limit
external_idYesYour id for this customer: 1–128 characters of letters, digits and . _ : @ -. Cannot be changed later
stream_policyNoall (default), or transactional_only to refuse product email for this tenant
default_from_domainNoDomain that completes a bare from (billing → billing@<domain>) on sends naming this tenant; null to clear

Output Schema

NameRequiredDescriptionDefault
tenantYesThe tenant

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world operation, lowering the description's burden. The description usefully discloses that external_id is the handle other resources use, but says nothing about duplicate handling, initial tenant state (active vs. paused), or auth/rate-limit constraints.

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

Conciseness3/5

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

Two short sentences with no padding, and the core purpose is front-loaded. However, "Sends and domains name it by its external id" is awkwardly ordered and slightly hard to parse, costing clarity per word.

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?

With 6 fully documented parameters, one enum, a complete output schema, and annotations covering the safety profile, most of the burden is carried by structured data. The remaining gap is minor: no mention of initial tenant state or duplicate-external_id behavior, which matters given separate pause/resume tools.

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 and the schema already documents every parameter including enum values and the external_id immutability warning. The description adds only one nugget beyond the schema - that sends and domains resolve the tenant via external_id.

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 ("Create a tenant") plus its intended scope ("for one of your customers"), which cleanly separates it from get_tenant, pause_tenant, update_tenant and other siblings. The second sentence about sends and domains naming the tenant by external id adds distinguishing context rather than restating the name.

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

Usage Guidelines3/5

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

Usage is only implied: the customer-tenant framing and the note that sends and domains reference the tenant by external id suggest this must be created before those resources can be linked. There is no explicit when-to-use, when-not-to-use, or named alternative 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.