Skip to main content
Glama
publiq UiTdatabank MCP server

publiq UiTdatabank MCP server

Upload image

upload_image

Uploads a PNG, JPEG, or GIF to UiTdatabank from a public URL or local file path and returns its ID for linking to events or organizers.

Instructions

Upload a PNG, JPEG or GIF image (at most 21 MB) to UiTdatabank and return its id. Pass either url (a public image that publiq downloads) or filePath (an absolute path on this computer; only a file the user asked you to upload). Then link the id with create_event or create_organizer (imageIds), or update_event (addImages). Uploaded images are public and cannot be deleted, only unlinked. Only upload images the user has the right to publish.

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": {
      "description": "<description>",
      "copyrightHolder": "<copyrightHolder>"
    },
    "name": "upload_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic http(s) URL of the image. publiq downloads it.
filePathNoAbsolute path of an image file on this computer.
languageNoLanguage of the description.nl
descriptionYesWhat the image shows, in the given language. Used as alt text.
isAiGeneratedNoWhether the image was made with AI. Leave out when unknown.
copyrightHolderYesWho holds the copyright, e.g. the photographer. Shown as attribution.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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: it discloses that uploaded images are public, that they cannot be deleted (only unlinked), that publiq downloads the URL server-side, and that filePath should only be used for files the user explicitly asked to upload. The irreversibility note is materially important given destructiveHint=false, and it is consistent — permanent storage is not the same as a destructive action.

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?

Four short sentences, front-loaded with the action and constraints, then the input choice, then integration, then the permanence warning. Every sentence carries information an agent needs.

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 still states the return value ('return its id') and how to consume it. Combined with media constraints, permission caveat, and permanence warning, nothing essential is missing for a 6-parameter upload tool.

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 genuine meaning the schema does not encode: url and filePath are alternatives (either/or), and filePath access is constrained to user-requested files. The remaining parameters (language, isAiGenerated, copyrightHolder) are only covered by 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?

Specific verb + resource + constraints: 'Upload a PNG, JPEG or GIF image (at most 21 MB) to UiTdatabank and return its id.' An agent knows exactly what the tool does, what it produces, and (via the explicit reference to create_event/create_organizer) how it differs from the sibling creation tools.

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?

Names the two mutually exclusive input modes (url vs filePath) with the condition that selects each, states the downstream tools to use afterwards (create_event, create_organizer, update_event addImages), and adds a clear policy precondition: 'Only upload images the user has the right to publish.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.