Skip to main content
Glama

Algizian

Set the tenant logo

set_logo
DestructiveIdempotent

Requires sign-in (scope orgs:manage). Upload the tenant logo as a base64 string (PNG, JPEG or WebP, at most 128 KiB here; shorter side at least 128 and no side over 2048 pixels; SVG, GIF and animated images are refused). It is cropped to a centred square and stored at 128 x 128 pixels without metadata, then shown on the sign-in and consent screens. Larger files: PUT the raw image to /api/v1/tenants/{tenant}/branding/logo.

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": {
      "tenant": "<tenant>",
      "image": "<image>"
    },
    "name": "set_logo"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesthe image file, base64 encoded
tenantYestenant slug

Output Schema

NameRequiredDescriptionDefault
resultYesThe result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint and idempotentHint, but the description adds substantive behavior: the image is cropped to a centred square, downsampled and stored at 128x128 with metadata stripped, and surfaces on sign-in and consent screens. It also discloses refused formats (SVG, GIF, animated) and the auth scope, none of which the annotations convey.

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?

A single dense paragraph, correctly front-loaded with the auth requirement, followed by input constraints, then the escape hatch for larger files. Every sentence carries information, though the parenthetical constraint cluster is packed tightly enough to require careful reading.

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 two-parameter mutation tool with an output schema available, the description covers auth, encoding, format, size, dimension, post-processing, and display location — everything needed to call it correctly. Return values are legitimately omitted because an output schema exists.

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?

Schema coverage is 100%, so both parameters are already documented at a basic level. The description nevertheless adds real meaning to "image" — base64 encoding, allowed MIME types, the ~128 KiB ceiling behind the 174768 maxLength, and the 128-to-2048 pixel bounds — which an agent could not derive from the bare schema.

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 ("Set the tenant logo") and immediately qualifies it with the accepted input form (base64 string). The final sentence names the exact out-of-scope case and the alternate endpoint, so an agent can tell this apart from a generic upload path without inspecting schemas.

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?

Gives a clear precondition (sign-in with scope orgs:manage) and an explicit routing rule: this tool for payloads up to 128 KiB, otherwise PUT the raw image to /api/v1/tenants/{tenant}/branding/logo. It does not address removal or comparison with sibling tenant-mutation tools, but the primary when/when-not split is spelled out.

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