Skip to main content
Glama

独行录 / opcmenu

换组织 logo

set_organization_logo
Idempotent

【需要登录·OWNER/ADMIN】按图片链接给组织换 logo;imageUrl 传 null 是移除(回落首字头像)。 【组合链】用户发来的图片链接 / upload_image_from_url 返回的 url → 本工具。 【口径/坑】① 服务端替你抓图、转存、同步机审(与头像同口径,二维码、联系方式导流也会拦),被拒的图当场删除,返回 image_content_rejected。② 只收 jpg/png/webp、≤5MB、公网直链。③ 组织已归档则不能改。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageUrlYes图片的公网直链;null=移除 logo
organizationIdYes组织 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing server-side image fetching, re-hosting, synchronous machine review, on-the-spot deletion of rejected images with the error code image_content_rejected, accepted file types, size limit, and public-link requirement. This is rich operational context not present in the schema or annotations, and it aligns with openWorldHint=true without contradicting any hint.

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?

Uses labeled sections (login/role, combination chain, specs/pitfalls) to front-load the most important gating information. Every sentence carries actionable detail with no filler, making it easy to scan.

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?

Given no output schema, the description still covers prerequisites, input constraints, server-side behavior, failure mode (image_content_rejected), and archived-organization limitation. An agent has everything needed to call it correctly and interpret the likely failure.

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 already 100%, and the schema itself documents imageUrl's null behavior. The description adds valuable constraints (jpg/png/webp only, ≤5MB, public direct link) and reiterates the null-removal semantics, so it meaningfully extends parameter understanding 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: set an organization's logo from an image URL, with explicit note that null removes it. Distinguishes itself from the upload step by naming upload_image_from_url as a prerequisite and clarifies the removal path, so an agent can tell what this tool does without opening the schema.

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 gates usage on login and OWNER/ADMIN role, describes the exact chain (user-provided URL or upload_image_from_url result → this tool), and states a when-not condition: archived organizations cannot be changed. This gives an agent clear routing logic and prerequisites.

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