Skip to main content
Glama

agp_artifact_get

Read-onlyIdempotent

Retrieve a SHA-256 verified artifact by artifact_id and read large artifacts in offset_bytes chunks to validate integrity and page through content.

Instructions

Retrieve a SHA-256 verified artifact by artifact_id, supporting offset_bytes chunk pagination.

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": {
      "artifact_id": "<artifact_id>"
    },
    "name": "agp_artifact_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_bytesNo
artifact_idYes
offset_bytesNoByte offset for reading large artifacts in chunks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real value beyond them: the artifact is integrity-checked via SHA-256, and large artifacts can be read incrementally via offset_bytes. It stops short of a 5 because it never says what happens on a hash mismatch (error vs. partial return) or how offsets interact with max_bytes.

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?

A single compact sentence with the key differentiators front-loaded and zero filler. Nothing could be removed without losing information.

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

Completeness3/5

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

For a three-parameter read tool with no output schema, the description covers retrieval, verification, and pagination, which is most of what an agent needs. The gaps are the undocumented max_bytes parameter and the unspecified behavior when SHA-256 verification fails, both of which matter for correct invocation.

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

Parameters2/5

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

Schema coverage is only 33%, so the description bears more of the burden than it does. It restates offset_bytes, which the schema already documents, and never mentions max_bytes (default 65536) at all, leaving the caller without guidance on chunk sizing or how max_bytes and offset_bytes combine.

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?

The description gives a specific verb (retrieve) and a specific resource (an artifact identified by artifact_id), plus two defining traits: SHA-256 verification and chunked reads. This distinguishes it implicitly from agp_artifact_list (many artifacts) and agp_artifact_put (write), but no sibling is actually named, so it falls short of a 5.

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: you call this when you already hold an artifact_id and want the bytes. There is no explicit when-to-use or when-not-to-use statement, and no pointer to agp_artifact_list for discovering ids or to agp_artifact_put for the inverse operation.

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