Skip to main content
Glama

getPackages

Read-only

List packages. Omit locationRef to list packages across all locations, or provide it to scope to one location. Call getLocations to list locations, or getLocation to fetch one by locationId. Each package grants credits and/or day passes through its grants array.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "getPackages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of packages per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100.
locationRefNoUUID of the location whose packages to list. Omit to list packages across every location of the network.
nextPageTokenNoPagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page.

Output Schema

NameRequiredDescriptionDefault
packagesYes
nextPageTokenNoPass it back as nextPageToken, with the same filters, to get the next page. Absent on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful domain context about the grants array (credits and/or day passes) but doesn't mention pagination behavior or page size limits, which the schema partially covers for limit but not for response paging.

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?

Four short sentences, front-loaded with the core action and then the parameter decision, followed by sibling routing and a domain note on grants. No redundant restatement of the title or name.

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?

The tool is simple (3 optional params, output schema present, annotations cover safety), and the description covers purpose, scoping, sibling routing, and a note on the payload's grants array. What's missing is only minor: explicit pagination guidance is delegated entirely to the schema's nextPageToken description.

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

Parameters4/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 thoroughly. The description nonetheless reinforces the locationRef semantics and explains what a package contains via the grants array, which helps the agent understand what it's retrieving. It doesn't add detail on limit or nextPageToken beyond the schema, so it stays slightly above baseline rather than fully compensating.

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?

States a specific verb and resource ("List packages") and immediately describes the scoping behavior of the locationRef parameter. It also distinguishes itself from the getLocations/getLocation siblings by explaining those are for resolving locations rather than listing packages.

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?

Gives clear when-to-use guidance for the two access modes: omit locationRef for network-wide listing, provide it to scope to one location. It names sibling tools to call for obtaining location identifiers, but doesn't state any exclusions or restrictions on when not to use this tool.

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.

Resources