Skip to main content
Glama

Prepare reviewed artifact upload

prepare_artifact_upload

Get a five-minute PUT URL for uploading exact artifact bytes. Uploads from external agents enter pending review, so the current version stays safe until approval.

Instructions

Create a five-minute PUT URL for exact bytes. External-agent output always enters pending review and never replaces the current artifact version before approval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
nameYes
sha256Yes
filenameYes
byte_sizeYes
media_typeYes
project_idYes
artifact_idNoExisting artifact to version. Omit when creating a new artifact.
review_noteNo
parent_version_idNoRequired latest version id when updating an existing artifact.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations indicate mutation (readOnlyHint=false) and non-destructive intent. The description adds behavioral details: URL expiry, exact bytes requirement, and the review lifecycle, which go beyond annotations. No contradiction exists.

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 pack key purpose and behavioral constraints without extraneous detail. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite 10 parameters, no output schema, and complex behavioral context (review, URL expiry), the description omits what the tool returns, how to use the URL, parameter interactions, and error conditions. It is incomplete for an agent to correctly invoke the tool.

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

Parameters1/5

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

Schema description coverage is only 20% (2 of 10 parameters have descriptions). The description contributes no parameter-level meaning, leaving 8 undocumented parameters. With such low coverage, the description must compensate but fails to do so.

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 tool creates a five-minute PUT URL for exact bytes, distinguishing it from sibling prepare_artifact_download. The verb 'create' and resource 'PUT URL' are specific, and the mention of external-agent review adds context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly notes that external-agent output always enters pending review and does not replace the current version before approval, providing clear context for when this tool is used. However, it does not explicitly state when not to use it or mention alternatives beyond sibling tools.

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