Skip to main content
Glama

Créer un lien d'envoi de photo

create_photo_upload_link

À utiliser quand l'utilisateur a joint une image dans la conversation ou n'a pas d'URL publique pour sa photo : renvoie un lien vers une page où il dépose lui-même sa photo (valable 2 heures, une seule photo). Donne-lui le lien ; quand il confirme l'envoi, appelle preview_postcard avec upload_id à la place de photo_url.

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": "create_photo_upload_link"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false); the description adds the substantive behavior an agent actually needs: the link expires in 2 hours, it accepts a single photo, and the upload is performed by the user rather than by the tool. It also tells the agent to hand the link to the user and wait for confirmation, which is not derivable from any structured field.

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?

Two sentences with no filler: the trigger condition comes first, then the returned artifact and its constraints, then the next-step instruction. Every clause carries operational information the agent must act on.

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 zero parameters and no output schema, the description carries the full explanatory burden and does so: it says what is returned (a link), what its limits are (2 hours, one photo), who performs the upload (the user), and what to do afterwards. Nothing needed to invoke and follow through 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?

The tool takes no parameters, so the baseline is 4. The only parameter-like concept mentioned, upload_id, belongs to the downstream preview_postcard call, and the description correctly frames it as a replacement for photo_url, which is useful orientation but not parameter documentation for this tool.

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 names a specific action and artifact: it returns a link to a page where the user uploads their own photo. It also distinguishes this tool's role from preview_postcard by describing the handoff, so an agent can place it in the workflow without opening the schema.

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 trigger condition is explicit: use when the user has attached an image in the conversation or has no public URL for their photo. The follow-up path is also spelled out — after the user confirms the upload, call preview_postcard with upload_id instead of photo_url — which resolves the choice between the two tools.

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.