Skip to main content
Glama

create_aviso_from_photo

Create a Gijón municipal service notice from a photo: read EXIF GPS, suggest category, preview details, and send only after explicit human confirmation.

Instructions

Aviso desde una FOTO en fases. VÍA PREFERIDA: sube la foto con PUT /upload (curl) y pasa file_id; por stdio usa image_path local. Sin tipo → sugiere (need_category). Con todo → preview + preview_token SIN enviar. Envío: MISMOS campos + confirm:true + human_confirmed:true + preview_token (tras 'sí' humano). Sin las tres NO se envía. La foto viaja en el mismo envío (data URL).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNosobrescribe el GPS EXIF de la foto
lonNosobrescribe el GPS EXIF de la foto
tipoNocódigo ALU/VIA/SEM/SEN/VER. Si falta, devuelve sugerencias y no crea nada
addressNo
confirmNotrue = ENVIAR de verdad (requiere preview_token + human_confirmed)
file_idNoVÍA PREFERIDA en remoto: id de PUT /upload
identityNoSobrescribe la identidad guardada solo para esta llamada
image_pathNoruta local. Solo stdio/CLI en la máquina del servidor
descriptionNosi falta, se pre-rellena y se marca para revisión
image_base64No
category_hintNo
preview_tokenNo
human_confirmedNoel humano vio el preview y dijo 'sí'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses that preview does not send, that sending requires confirm + human_confirmed + preview_token, that missing tipo creates nothing, and that the photo travels as a data URL. These are critical behavioral traits for a mutation tool that would otherwise be invisible.

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 telegraphic but appropriately sized for a 13-parameter, multi-phase tool; the workflow phases and send gate are front-loaded. It is information-rich rather than padded, though the compressed phrasing costs some readability.

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 complex mutation tool with no annotations and no output schema, the description covers the phased workflow, the send gate, and the upload alternatives thoroughly. Minor gaps remain on some parameters and nothing is said about the preview response shape beyond preview_token.

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 69%, and the description adds genuine meaning beyond it: file_id as the preferred remote route, image_path restricted to stdio/CLI, confirm requiring the token pair, and the consequence of omitting tipo. A few params (lat/lon/address/identity) are only covered by the schema, keeping it from a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Aviso desde una FOTO en fases') and immediately frames the two-phase workflow (preview vs send). It does not explicitly name the sibling create_aviso to differentiate the photo-based variant from it, so it falls just short of a 5.

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 names the preferred upload route (PUT /upload + file_id) versus the stdio-only alternative (image_path), and spells out the two phases: 'Sin tipo → sugiere', 'Con todo → preview + preview_token SIN enviar'. The send requirements are enumerated with the three mandatory fields. Nothing about when to use it versus alternatives is left to inference.

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