Skip to main content
Glama

agp_artifact_put

Idempotent

Store large diffs, logs, OpenAPI specs, or code files in a local SHA-256 artifact store with secret redaction, returning a reference descriptor to attach to agp_send.

Instructions

Store a large diff, log, OpenAPI spec, or code file in the local SHA-256 Artifact Store (with DLP secret redaction) and receive a pass-by-reference descriptor to attach to agp_send.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "agp_artifact_put"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYese.g. git_diff, openapi_spec, test_log, design_doc
redactNoAutomatically DLP-redact secrets in text content.
contentNoUTF-8 text content to store.
mime_typeNotext/plain
owner_uriNo
source_pathNoAbsolute path to an existing file to store.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is a local, non-destructive, idempotent write operation, so the safety profile is covered. The description adds useful behavior beyond annotations: it is a SHA-256 content-addressed store, DLP secret redaction is applied, and the return value is a pass-by-reference descriptor. It does not discuss size limits, redaction failure modes, or how the descriptor can be consumed beyond attaching to agp_send.

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?

The definition is a single, front-loaded sentence with no filler. Purpose, storage mechanism, redaction behavior, and return value are all packed efficiently, and the downstream usage is stated before any secondary detail.

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?

Given a six-parameter write tool with no output schema, the description covers the core: what is stored, where, with what redaction, and what is returned. Remaining gaps are minor—owner_uri and source_path semantics are left to the schema, and size preconditions are unspecified—but annotations carry the idempotence and local-only behavior.

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 coverage is 67%, with kind, redact, content, mime_type, owner_uri, and source_path partially described. The description mentions redaction and large content, which loosely connects to the redact and content parameters, but it adds no clarification for owner_uri, source_path, mime_type, or the expected kind values beyond what the schema already documents. Baseline 3 is appropriate at this coverage level.

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 states a specific verb and resource: 'Store a large diff, log, OpenAPI spec, or code file in the local SHA-256 Artifact Store.' It gives concrete content examples and names the downstream consumer (agp_send) via a pass-by-reference descriptor, clearly distinguishing this write-side artifact tool from retrieval/list siblings.

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?

It implies when to use it: for large content that should be stored and passed by reference rather than inlined, and it explicitly says the descriptor is meant to attach to agp_send. It does not explicitly state when not to use it or point to agp_artifact_get/agp_artifact_list as alternatives, so it falls short of full when/when-not guidance.

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