Skip to main content
Glama

Upload dossier image

upload_dossier_image

Put an image into a dossier's Mappe and get back the Markdown to paste into a document. Name EXACTLY ONE source: source_url (the server fetches it — cheapest, nothing goes through the model), mockup_id (takes a rendered screen from support-ai-ze, with its title, stage and AI flag), or content_base64 for an image that exists only locally. Prefer source_url or mockup_id: base64 carries every image through the context twice, measured at ~55.600 tokens for one 1280x720 screen. The image is fetched ONCE and stored here, so an expiring signed URL does not break the Mappe. Accepts PNG, JPEG, GIF, WebP and AVIF, never SVG, which can carry script; the content decides, not the declared type. The server only loads hosts on its allow-list — its own storage and explicitly configured ones. The bucket is private: the share page signs a short-lived URL only after it has checked every gate on the link, so an image is exactly as protected as the document it sits in.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upload_dossier_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
alt_textNoWhat the image shows. Used when the Markdown reference brings no alt text of its own. Defaults to the mockup title for mockup_id.
filenameNo
grant_idNo
mime_typeNoOptional. Derived from the bytes when omitted; when given it must match them.
mockup_idNoA screen mockup in support-ai-ze; the server resolves its image and records title, stage and whether it is an AI image.
tender_idNo
dossier_idNo
source_urlNohttps URL the server fetches the image from. One of source_url, mockup_id or content_base64.
content_base64NoThe raw file, base64. Up to 5 MB decoded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: fetch-once-then-store so expiring signed URLs don't break the Mappe, host allow-list restriction, private bucket with short-lived signed share URLs gated by link checks, and a deliberate SVG refusal because SVG can carry script. These are real operational constraints an agent cannot infer from readOnlyHint/destructiveHint alone.

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?

Front-loaded with purpose and return value, then the source-choice rule, then constraints. Dense and mostly waste-free, though the closing private-bucket/share-page sentence is longer than needed to convey 'access is gated like the parent document'.

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 9-parameter mutation tool with no output schema, it covers the return value (Markdown to paste), accepted formats, size cap, fetch policy and security model. The remaining gap is that four identifier/optional parameters are left unexplained and no failure behavior is described.

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?

At 56% schema coverage the description compensates well for the key inputs: it defines the three mutually exclusive sources, explains that mime_type is derived from bytes when omitted, and clarifies that content_base64 has a decoded size limit. It says nothing about filename, grant_id, tender_id or dossier_id, which remain undocumented in both places.

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?

Opens with a specific verb+resource+outcome: put an image into a dossier's Mappe and get back the Markdown to paste. That is distinguishable from siblings like generate_dossier_image or create_dossier_image_upload_url, and it names the exact resource ('Mappe') the image lands in.

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 explicit routing rules among the three input modes ('Name EXACTLY ONE source') and a stated preference order with a reason (base64 token cost ~55.600 tokens per screen). It does not compare itself to sibling upload/generate tools, so the guidance is strong but self-contained rather than comparative.

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