Skip to main content
Glama

grape_get_artifact

Inspect artifact metadata to get references and dependencies, or return the full stored JSON when exact artifact contents are needed.

Instructions

Inspect artifact metadata; use full only when exact stored JSON is needed.

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": {
      "artifactId": "<artifactId>"
    },
    "name": "grape_get_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
artifactIdYes
outputModeNometadata returns refs/dependencies only; full also returns the stored public artifact JSON.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. 'Inspect' correctly signals a read-only operation, and the advice to prefer metadata implies that full output is heavier or costlier. But it doesn't state whether the call errors on an unknown artifactId, whether refs/dependencies are expanded or opaque, or any auth/scope requirements for a no-annotation tool.

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?

Two clauses, front-loaded with the purpose before the mode caveat, with no filler. It is arguably too terse rather than padded, but every word earns its place and nothing is buried.

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?

With no output schema and no annotations, the description should say more about what 'metadata' contains (the schema mentions refs/dependencies but the description doesn't) and about artifactId. It is barely adequate for a simple two-parameter read tool, with clear gaps around error behavior and identifier format.

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 50%: outputMode is fully documented in the schema and the description only restates that trade-off in shorter form, while artifactId has no schema description and the description says nothing about its expected format or origin. Baseline 3 is right for a two-parameter tool where the schema does most of the work.

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 names a specific verb and resource ('Inspect artifact metadata'), so an agent can tell this reads artifact metadata rather than claims, conflicts, or proofs as the sibling tools do. It stops short of differentiating from every sibling, but the resource noun is distinctive enough.

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?

'use full only when exact stored JSON is needed' gives a real decision rule for the outputMode choice, which is the main usage fork. However, there is no guidance on when to reach for this tool versus grape_get_context or grape_get_claims when investigating an artifact, so usage is only implied outside the mode choice.

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