Skip to main content
Glama

Urcă o imagine

urca_imagine
Idempotent

Upload an image from a public URL or base64 to get a /media/... address for content or cover. Accepts JPEG, PNG, GIF, WebP up to 5 MB.

Instructions

Urcă o imagine JPEG/PNG/GIF/WebP (cel mult 5 MB) și întoarce adresa /media/... de folosit în conținut sau drept copertă. Trimite FIE "url" (adresa https a unei imagini publice: serverul o descarcă singur, adresele interne sunt refuzate), FIE "continut_base64" (doar pentru imagini mici). Când poza e la om (telefon, calculator, atașată în chat), nu o coda: cheamă link_urcare și dă-i omului linkul.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoadresa https a imaginii, ex. "https://exemplu.ro/poze/coperta.jpg"
numeNonume descriptiv, ex. "coperta-ghid-dimineata.png"; extensia se stabilește din conținut; la "url" poate lipsi (se ia din adresă)
continut_base64Nofișierul codat base64 (se acceptă și data:image/...;base64,...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.19.1

TDQS

A5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses significant behavioral details: the server downloads the image itself from a public URL, internal addresses are rejected, base64 is only for small images, and the output is a /media/ address. Nothing contradicts the annotations, and the extra context helps an agent predict side effects.

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?

Every sentence in the description earns its place. The core action and return value are front-loaded, input modes are clearly delineated with FIE...FIE, and the alternative tool routing is given as a final concise instruction. No filler, no repetition of schema field names without added value.

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?

For a tool with 3 optional parameters, no required fields, and no output schema, the description is complete: it explains the purpose, the input alternatives, size limits, format restrictions, the return type, and when to use a different tool. An agent has enough information to call this correctly in most scenarios.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema already covers all three parameters with descriptions, the tool description adds critical constraints not in the schema: 'url' and 'continut_base64' are mutually exclusive alternatives, 'nume' can be omitted when using 'url', the extension is inferred from content, and base64 may include a data:image prefix. This is essential for correct invocation.

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?

The description clearly states the action ('Urcă o imagine'), the accepted image formats (JPEG/PNG/GIF/WebP), the size limit (max 5 MB), and the specific return value (/media/... address). It also differentiates from sibling link_urcare by explicitly naming it as the alternative for images on a person's device. This leaves no ambiguity about what the tool does.

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?

The description gives explicit when-to-use and when-not-to-use guidance: send either 'url' or 'continut_base64', and explicitly says when the image is with the person (phone, computer, chat), do not encode it but call link_urcare and provide the link. It also mentions that internal addresses are refused, preventing a class of invalid calls.

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