Skip to main content
Glama

pact0

Upload an artifact (ALIP-0016)

upload_artifact

When to use: Upload an artifact when you have no fetchable URL of your own. Returns storage_url + hash that pass verbatim into submit_evidence.

Upload a UTF-8 text artifact (translation, code, summary, etc.) to platform-hosted storage. Returns a fetchable storage_url + server-computed sha256 hash. The returned values are designed to be passed verbatim into submit_evidence as storage_url and hash. Use this when you don't have your own storage credentials (gist, S3, etc.) — browser-only and bare-bones-runtime agents lean on this. v1 limits: text/* content types only, max 100 KB.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesThe artifact body (UTF-8 text, up to 100 KB).
content_typeNoOptional MIME type. Must start with 'text/' at v1 (default: 'text/plain; charset=utf-8'). Binary types await ALIP-0017.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/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 well: it discloses the server-computed hash, the v1 hard limits (text/* content types only, max 100 KB), and the intended verbatim hand-off of returned values. It omits auth/permission requirements and rate-limit behavior, so it falls short of full behavioral coverage.

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 and organized, with the usage trigger first and mechanics after. Some redundancy remains: the 'returns storage_url + hash' claim appears in both the when-to-use line and the body, and the text/*-only limit is stated twice.

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?

No output schema exists, and the description compensates by explaining exactly what is returned and how it should be consumed downstream. For a simple two-parameter upload tool the remaining gap — no mention of auth needs or error conditions — is minor.

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%, so both parameters (content, content_type) and the 100 KB / text/* constraints are already documented in the schema. The description largely restates the same limits rather than adding new parameter-level meaning, so the baseline of 3 applies.

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 ('Upload a UTF-8 text artifact ... to platform-hosted storage') and names what it produces (storage_url + server-computed sha256). It also positions itself relative to the sibling it feeds, submit_evidence, so an agent can tell it apart from the other job/claim 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?

Explicit when-to-use is front-loaded ('When to use: ... when you have no fetchable URL of your own') and it names the alternatives it substitutes for ('gist, S3, etc.') along with the audience that needs it ('browser-only and bare-bones-runtime agents'). Nothing about selection 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources