Skip to main content
Glama

my_shop_items

Read: the flash items your wallet holds and has not used yet, live from the chain, on BOTH the live Games Master v2 contracts and the retired legacy ones (each item says which contractSet): sealed or openable Black Market crates (state sealed, posting or ready), unused Portal disks (expiry) and mercenaries (type, expiry, whether already on a crew). The contracts have no owner index, so the lists come from reading the newest 400 ids per kind per set and stop once your balance is accounted for (each list says whether it is complete); at most 50 ids per kind. Then use prepare_open_crate, prepare_use_portal, prepare_hire_merc. Read only.

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": {
      "wallet": "<wallet>"
    },
    "name": "my_shop_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesYour own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so: live on-chain reads, coverage of both active and retired contract sets, the absence of an owner index, a scan bounded to the newest 400 ids per kind per set that halts once the wallet balance is accounted for, a hard cap of 50 ids per kind, and a per-list completeness flag. The explicit "Read only" statement removes any ambiguity about side effects, and the per-item contractSet marker discloses how results are disambiguated.

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?

It is front-loaded with the verb and return contents before the scanning mechanics, and every clause carries information (item kinds, states, caps, completeness). It is a single dense run-on sentence, though, which makes the pagination caveat harder to parse than a short structured breakdown would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must explain returns itself, and it does: item categories, per-item state/expiry/crew fields, contractSet labeling, and per-list completeness indicators. Given the on-chain scanning complexity and the 50-id cap, an agent has everything needed to call it and to interpret partial results.

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% for the single wallet parameter, so the schema already explains that the address is only read and simulated against, not sent from. The description reinforces this with "your wallet holds" but adds no format or validation detail beyond the schema, so the baseline of 3 applies.

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?

Opening verb+resource is explicit ("Read: the flash items your wallet holds and has not used yet") and the description enumerates exactly what is returned: crates with sealed/posting/ready states, unused Portal disks with expiry, and mercenaries with type/expiry/crew status. It also scopes across both live v2 and retired legacy contract sets, making it clearly distinguishable from the prepare_* siblings.

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 states the follow-up routing explicitly: "Then use prepare_open_crate, prepare_use_portal, prepare_hire_merc," which tells the agent this is the discovery step preceding those mutations. It does not discuss when not to use it or point at any read-side alternative, but the read-only scope makes exclusions largely unnecessary.

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