Skip to main content
Glama

Update a tenant

update_tenant

Update a tenant.

Changes the name, external_id or daily_limit (null removes the cap).

Requires a full_access API key. API: PATCH /tenants/{ref} (operationId updateTenant, Tenants).

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": {
      "ref": "<ref>"
    },
    "name": "update_tenant"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesThe tenant id or your own `external_id`.
nameNo
trust_markNoSpacePost's own (internal) accounts only; other accounts get 403. `trusted` vouches that this customer pays and is established in your product, and the tenant then skips the outside abuse-screening services once it also meets SpacePost's trust rules on its own sending. `system` marks your product's own system mail. `none` (default) means full screening.
daily_limitNoNull removes the cap.
external_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / trust_mark
      Added value: +{
      +  "description": "SpacePost's own (internal) accounts only; other accounts get 403. `trusted` vouches that this customer pays and is established in your product, and the tenant then skips the outside abuse-screening services once it also meets SpacePost's trust rules on its own sending. `system` marks your product's own system mail. `none` (default) means full screening.",
      +  "enum": [
      +    "none",
      +    "trusted",
      +    "system"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

B3/5.0
Behavior3/5

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

Adds real value beyond the annotations by disclosing the required `full_access` API key and the `null` cap-removal behavior, which annotations do not convey. However, it says nothing about partial-update semantics, what happens to fields not supplied, or the 403 behavior tied to `trust_mark`, so the mutation contract remains partly opaque.

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?

Three short sentences, front-loaded with the action and field list, followed by auth and endpoint details. No filler; the only inefficiency is the redundant restatement of the `null` cap behavior already in the schema.

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?

Covers auth and endpoint identity well for a five-parameter mutation tool with no output schema, but leaves out any statement of partial-update behavior and ignores the enum-bearing `trust_mark` parameter. An agent could call this successfully but might not realize it can also change trust status.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 60%, and the description only restates what the schema already documents (`null` removes the cap) while omitting the most semantically complex parameter, `trust_mark`, with its enum and 403 restriction. Presenting only three mutable fields can mislead an agent into thinking `trust_mark` cannot be set here.

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?

States a specific verb and resource ('Update a tenant') and enumerates most of the mutable fields plus the HTTP verb and path. It clearly distinguishes this from get_tenant/list_tenants, though the enumeration is incomplete since it omits `trust_mark`, which the schema exposes.

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?

No guidance on when to update a tenant versus sibling operations like pause_tenant, unpause_tenant, or delete_tenant, and no statement of partial-update semantics (whether omitted fields are left untouched). The only usage-adjacent information is the `full_access` key requirement.

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