Skip to main content
Glama

items_resolve

Resolve an item ID to its artifact files via an items.json registry, so renaming or moving files updates references without breaking links. Returns files or flags unknown IDs.

Instructions

Resolve an item-reference (an item id) to its artifact file(s) against an items.json registry — identity, not a bare path, so renaming/moving a file updates the item's files[] without breaking references. Returns {ok, files}, or {ok:false, problems} on a dangling reference (an unknown item id).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYes
registryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it explains the identity-based resolution model, the return shape {ok, files}, and the failure mode {ok:false, problems} for dangling references. It does not cover permissions, rate limits, or registry format expectations, but the core behavior is disclosed.

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 dense sentence that front-loads the core action and semantics. It is efficient, though the parenthetical explanation makes it slightly heavy. No wasted sentences.

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?

For a 2-parameter tool with no output schema and no annotations, the description supplies the key missing context: what resolution means, the identity model, and the exact return/failure shape. It is nearly complete, missing only alternate-tool guidance.

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 0%, so the description must compensate. It explains that 'item' is an item id and 'registry' is an items.json registry, which adds meaning beyond the bare string types, but lacks format or path details. This is a reasonable partial compensation.

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 states a specific verb (resolve) and resource (an item-reference to artifact files against an items.json registry), and explains the identity semantics. It does not name a specific sibling alternative, but the purpose is clear and distinguishable from items_validate and items_new.

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

Usage Guidelines2/5

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

The description never says when to use this tool versus alternatives like items_validate, project_resolve_manifest, or project_check_references. It explains what happens internally but provides no usage context or exclusions.

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

Deploy Server

Other Tools