Skip to main content
Glama

muninn_picture_upload_direct

Save the photos the user asked you to save, when YOU can already read them: photos the user attached in this chat and asked to keep in Muninn. Only upload the files the user named or attached for saving. Never search folders or the disk for other images, and never upload a file the user did not ask to save. Needs network access to https://munn.is; if your code cannot reach it, use muninn_picture_upload_start so the user picks them instead. Returns {memoryId, endpoint, header, how, expiresAt, maxFiles}. Upload each photo with one POST to endpoint, multipart/form-data with two file fields: 'orig' (the photo bytes, unchanged) and 'thumb' (a JPEG you make, long edge 480 px, at most 100 KB), plus the header. Up to 7 photos, JPEG, PNG or WebP, 10 MB each, within 15 minutes. Then call muninn_picture_view with memoryId and muninn_picture_upload_finish. Nothing is a memory until finish runs.

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

Input Schema

NameRequiredDescriptionDefault
maxFilesNoHow many photos this memory will hold, 1 to 7. Omit for 7.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare that this is a non-read-only, non-destructive local write; the description adds the operational details an agent actually needs: outbound requirement to https://munn.is, a 15-minute expiry window, a 7-photo cap, 10 MB per file, accepted formats, the exact return shape, and the multipart POST contract with 'orig' plus a generated 480px/100KB JPEG thumbnail. The state caveat 'Nothing is a memory until finish runs' discloses partial-failure semantics that no annotation covers.

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 the eligibility rule and the fallback path before the mechanics, which is the right ordering. Some sentences restate the same restriction ('Only upload the files the user named or attached' / 'never upload a file the user did not ask to save'), costing a little length, but the density of actionable protocol detail justifies the overall size.

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 no output schema, the description supplies the return shape, the complete post-call workflow (POST to endpoint, then finish, then view), the expiry deadline, and the size/format limits. Nothing an agent needs in order to complete the upload flow correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100% and the single maxFiles parameter is already documented with its 1-7 range and default. The description reinforces the cap ('Up to 7 photos') but never names maxFiles or explains its omission default, so it adds little beyond the schema. Baseline 3 applies when the schema carries the parameter documentation.

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?

States a specific verb and resource ('Save the photos... in Muninn') and immediately bounds the scope to photos the agent can already read that the user attached and asked to keep. It is clearly distinguished from muninn_picture_upload_start, which is named as the fallback for when the agent's code cannot reach the network.

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?

Explicit when-to-use ('photos the user attached in this chat and asked to keep') and explicit when-not ('Never search folders or the disk for other images, and never upload a file the user did not ask to save'). It also names the alternative tool for the unreachable-network case and the required follow-up calls muninn_picture_view and muninn_picture_upload_finish.

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