Skip to main content
Glama

Samuelz® Maps

Privat hochladen

upload_social_image
Idempotent

After explicit user instruction store one original image privately in the existing tenant library. Pass the actual attached imageFile (host download_url and file_id), or exact original imageBase64, never a fabricated URL or generated replacement. PNG/JPEG/WebP up to 8,000,000 bytes. Read list_social_images for expectedRevision; provide documented rights. Identical retries reuse the asset. Returns image asset ID and private preview; upload publishes nothing. Where prepare_business_profile_post and show_maps_approval are exposed on this connection, pass imageAssetId and use the exact human card. Otherwise keep the private asset and use only an available post workflow.

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": {
      "expectedRevision": "<expectedRevision>",
      "title": "<title>",
      "rights": "<rights>"
    },
    "name": "upload_social_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoOptional descriptive labels for this private asset; omission uses an empty list.
titleYesHuman label for this exact original private image asset, not a publication instruction.
rightsYesDocumented rights for this exact image under the existing rights contract; no model-inferred permission.
imageFileNoThe actual host-supplied attachment download_url and file_id; mutually exclusive with imageBase64. Never fabricate a URL or substitute a generated image.
imageBase64NoOriginal PNG/JPEG/WebP bytes as canonical base64, at most 8,000,000 decoded bytes; mutually exclusive with imageFile.
expectedRevisionYesCurrent libraryRevision from list_social_images. A changed library requires reread, not an invented revision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • addedInput schema / properties / expectedRevision / description
      Added value: +"Current libraryRevision from list_social_images. A changed library requires reread, not an invented revision."
    • addedInput schema / properties / imageBase64 / description
      Added value: +"Original PNG/JPEG/WebP bytes as canonical base64, at most 8,000,000 decoded bytes; mutually exclusive with imageFile."
    • addedInput schema / properties / imageFile / description
      Added value: +"The actual host-supplied attachment download_url and file_id; mutually exclusive with imageBase64. Never fabricate a URL or substitute a generated image."
    • addedInput schema / properties / imageFile / properties / download_url / description
      Added value: +"Actual download URL supplied by the host for the same attached original file. It is not an arbitrary fetch target."
    • addedInput schema / properties / imageFile / properties / file_id / description
      Added value: +"Actual host attachment identity bound to this same download URL."
    • addedInput schema / properties / imageFile / properties / file_name / description
      Added value: +"Optional original host-provided file name."
    • addedInput schema / properties / imageFile / properties / mime_type / description
      Added value: +"Optional host-provided MIME type of the original attachment."
    • addedInput schema / properties / rights / description
      Added value: +"Documented rights for this exact image under the existing rights contract; no model-inferred permission."
    • addedInput schema / properties / rights / properties / channels / description
      Added value: +"Existing rights-contract channels for which use of this image is authorised."
    • addedInput schema / properties / rights / properties / consentEvidence / description
      Added value: +"Actual required consent evidence for identifiable subjects under the existing rights contract."
    • addedInput schema / properties / rights / properties / evidence / description
      Added value: +"Actual evidence supporting those image rights; never invented or inferred."
    • addedInput schema / properties / rights / properties / expiresAt / description
      Added value: +"Actual expiry of these image rights, if any; never extend rights by changing this value."
    • addedInput schema / properties / rights / properties / source / description
      Added value: +"Actual documented source of rights for this exact original image."
    • addedInput schema / properties / rights / properties / subjects / description
      Added value: +"Subjects covered by the existing image-rights contract."
    • addedInput schema / properties / tags / description
      Added value: +"Optional descriptive labels for this private asset; omission uses an empty list."
    • addedInput schema / properties / title / description
      Added value: +"Human label for this exact original private image asset, not a publication instruction."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations it discloses idempotent retry behavior, that nothing is published, the accepted formats and the 8,000,000-byte cap, and that a changed libraryRevision requires a reread rather than an invented value. It also tells the agent what is returned (asset ID and private preview), which the annotations do not.

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?

Dense and front-loaded, with the core action, input rules, and concurrency constraint ahead of the conditional workflow guidance. The trailing conditional sentence is long but carries real routing information, so little is wasted.

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?

With no output schema, the description supplies the return contract, and for a six-parameter tool with nested rights and file objects it covers formats, size limits, revision handling, and the full downstream path. Nothing an agent needs before calling it is missing.

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 the baseline is 3, but the description adds cross-parameter meaning: imageFile and imageBase64 are alternatives, expectedRevision must come from list_social_images, and rights must be documented rather than inferred. It also forbids fabricated URLs or generated replacements, which the schema only implies.

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?

A precise verb plus resource plus scope: store one original image privately in the existing tenant library, explicitly not a publication. It distinguishes itself from posting siblings by stating 'upload publishes nothing' and by routing to prepare_business_profile_post for downstream use.

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?

It states the precondition ('After explicit user instruction'), the alternative for revision lookup (list_social_images), the downstream tools and what to pass to them (imageAssetId to prepare_business_profile_post / show_maps_approval), and a fallback when those tools are not exposed on the connection.

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