Skip to main content
Glama

createPackage

Create a package that sells credits and/or day passes in a location, priced in the location currency. Returns the created package. Call getLocations to list locations, or getLocation to fetch one by locationId. Never invent UUIDs; only use values from prior tool responses.

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": {
      "package": "<package>"
    },
    "name": "createPackage"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageYesPackage to create.

Output Schema

NameRequiredDescriptionDefault
packageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare this is a non-read-only, non-destructive, closed-world mutation. The description adds that the tool returns the created package and that locationRef must come from prior responses, which is useful context beyond the annotations. It does not mention failure modes, duplicate-package handling, or permission requirements.

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?

Three short sentences, front-loaded with the action, followed by the return value and the identifier-provenance caveat. Nothing is redundant, though the return-value sentence is partially redundant given an output schema exists.

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 nested-object mutation with an output schema and full parameter coverage, the description covers purpose, pricing semantics, and ID sourcing adequately. It omits error behavior and any constraint on duplicate packages, which are the remaining gaps for a create tool.

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% and the nested package/grants structure is fully documented in the schema, so the baseline is 3. The description does add one useful semantic not in the schema, namely that price is denominated in the location currency, but the bulk of parameter meaning is carried by the schema.

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 opens with a specific verb and resource ('Create a package') and scopes what the package contains (credits and/or day passes) and how it is priced (location currency). It is clearly distinct from updatePackage/deletePackage by its verb, though it does not explicitly name those siblings as alternatives.

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?

It gives concrete prerequisite guidance: call getLocations to list locations or getLocation to fetch one by locationId before creating. It also states a hard constraint ('Never invent UUIDs; only use values from prior tool responses'). It stops short of when-not-to-use guidance, such as when to prefer updatePackage over creating a duplicate.

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