Skip to main content
Glama

agentloom_upload_artifact

Upload a local file or text log/config artifact to the Hub, optionally attaching it to a thread so remote workers can access it.

Instructions

Upload a local file or text log/config artifact to the Hub (optionally attached to a thread).

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

Input Schema

NameRequiredDescriptionDefault
filenameNoArtifact filename (defaults to basename of file_path)
file_pathNoPath to a local file to upload
thread_idNoOptional thread ID to attach this artifact to
content_textNoUTF-8 text content if file_path is omitted
content_typeNoOptional MIME type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about what happens on upload: no mention of overwrite/collision behavior for existing filenames, size limits, permissions, or what the call returns. For a write operation creating a Hub artifact, these are meaningful omissions.

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?

A single front-loaded sentence with no filler; the core action comes first and the optional modifier is parenthetically scoped. It is tight, though brevity here comes partly at the cost of missing detail rather than through efficient density.

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

Completeness2/5

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

A five-parameter mutation tool with no annotations and no output schema needs the description to explain result and side-effect behavior, and it does not. An agent cannot tell from this text what identifier or response comes back for later reference, nor how it should choose between file_path and content_text beyond what the schema states.

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 each of the five parameters is already documented, and the description adds essentially no meaning beyond it. The 'optionally attached to a thread' phrase only restates what the thread_id schema description already states.

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 and resource ('Upload a local file or text log/config artifact to the Hub') and adds the optional thread attachment. It is distinguishable from the sibling download_artifact by direction alone, though it does not explicitly contrast with any sibling.

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

Usage Guidelines3/5

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

Usage is only implied by characterizing the payload as a 'log/config artifact,' which hints at when this is appropriate. There is no explicit when-to-use, when-not-to-use, or alternative named among siblings, so the agent must infer the scenario.

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