Skip to main content
Glama

Offline Protocol (hosted)

Resolve packages

resolve_packages
Read-onlyIdempotent

Resolve Offline Protocol packages, or a workflow, for one platform into an exact install list: versions, required and peer dependencies, install commands and license notes.

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": {
      "platform": "<platform>"
    },
    "name": "resolve_packages"
  }
}

Input Schema

NameRequiredDescriptionDefault
packagesNoExplicit package names to resolve
platformYesTarget platform
workflowNoAlternatively, a workflow name to resolve

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "react-native",
      -  "nextjs",
      -  "react-vite",
      -  "web",
      -  "rust"
      -]New value: +[
      +  "react-native",
      +  "nextjs",
      +  "react-vite",
      +  "web",
      +  "rust",
      +  "python",
      +  "java"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description's main contribution is disclosing the shape of the result: resolved versions, required and peer dependencies, install commands and license notes. It does not cover failure modes (unresolvable packages, unknown workflow) or any size limits, keeping it just below a 5.

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 sentence that front-loads the verb and scope, then enumerates the concrete outputs. No filler, and every clause carries information an agent needs.

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?

With only three parameters, no output schema, and safety already covered by annotations, the description is close to complete, and it usefully enumerates return contents in place of an output schema. The remaining gap is the unspecified interaction between the packages and workflow parameters.

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 100%, so the schema already documents all three parameters including the platform enum and the 'Alternatively' framing of workflow. The description's phrase 'or a workflow' reinforces but does not clarify the mutual exclusivity of packages vs workflow or what happens if both are supplied, so it adds little beyond the structured data.

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 (Resolve) and resource (Offline Protocol packages or a workflow) and names the concrete output: versions, required and peer dependencies, install commands, license notes. That makes it distinguishable from list_packages/search_packages/get_package, though it never names those siblings explicitly.

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: an agent can infer it should call this to turn package names or a workflow into an install list for a platform. There is no explicit when-to-use/when-not guidance and no routing to alternatives such as get_package or preview_scaffold.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.