Skip to main content
Glama

Upload organization logo

upload_organization_logo

Upload an image file (as base64) as the studio's organization logo, and set it as logo_url. Use when a caller has actual image bytes, not a hosted URL (in which case pass logo_url directly to update_organization).

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": {
      "content_type": "<content_type>",
      "base64_data": "<base64_data>"
    },
    "name": "upload_organization_logo"
  }
}

Input Schema

NameRequiredDescriptionDefault
base64_dataYesBase64-encoded file content (data: URI prefix is stripped if present). Max 5MB decoded.
content_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare the write, non-idempotent, non-destructive profile, and the description adds that the upload sets logo_url and that a data URI prefix is tolerated. It does not say whether an existing logo is replaced or what permissions are required, which is the main remaining behavioral gap.

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

Conciseness5/5

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

Two sentences, front-loaded with the action and effect, followed by the routing condition. No filler or redundancy.

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?

For a two-parameter write tool with no output schema, the description covers purpose, payload expectation, and the alternative path. Only the post-call behavior (returned value, replacement of an existing logo) is left implicit.

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 coverage is 50%: base64_data is fully documented in the schema, while content_type only carries an enum of image MIME types with no prose. The description's 'image file (as base64)' reinforces the payload format but adds no detail on content_type or size handling beyond the 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 ('Upload an image file ... as the studio's organization logo') plus the side effect of setting logo_url. It is clearly distinguishable from update_organization, which is named as the path for hosted URLs.

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 defines the selection condition: use this tool when the caller has actual image bytes, and use update_organization with logo_url when the image is hosted. Both the when and the alternative are stated.

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