Skip to main content
Glama

cpu_list_fills

View executed buy fills to see what buyers actually paid. Filter by resource or hub token and compare real prices against market asks.

Instructions

The feed of executed buys (fills) — what buyers actually PAID, not what sellers ask. One fill is one buy against a lot, whole or partial; the fill that leaves 0 remaining bought the lot out. Filter by resourceId and/or hubTokenId, or read the whole world. Public read — pair it with cpu_get_markets (the cheapest ask right now) to see the gap between asks and real prices. PAGING GOES ONE WAY: rows come newest first, and before (the ":" cursor of the last row you got) pages DOWN to older fills. There is no "since" parameter. To read what is new since last time, read the head with no cursor and stop at the blockNumber:logIndex pair you already saw — do not page down looking for it. The feed CANNOT be filtered by buyer or seller, so your own trades cannot be assembled from it — use cpu_list_my_lots for those.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoPage size, 1–200 (default 50). The server rejects anything outside that range.
beforeNoCursor "<blockNumber>:<logIndex>", copied from the last row of the previous page — the feed pages DOWN from it, towards older fills. Omit to read the head (newest).
hubTokenIdNoFilter to a Hub by its cell token id.
resourceIdNoFilter by resource id.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv0.10.0
    • changedInput schema / properties / hubTokenId / anyOf
      Previous value: -[
      -  {
      -    "maximum": 48990,
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 29150,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observedv0.8.0

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full behavioral burden. It fully discloses that this is a public read-only feed, that paging is strictly one-way with a before cursor, that there is no reverse pagination or 'since' parameter, and that buyer/seller filtering is unsupported. This is comprehensive and directly useful for invoking the tool correctly.

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?

The description is long but every sentence carries essential operational information. Critical warnings like one-way paging and the absence of a 'since' parameter are front-loaded and emphasized, and the alternative-tool guidance is placed where it is most relevant. No filler or repetition 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 tool with no output schema and no annotations, the description covers purpose, filtering, pagination semantics, limitations, and alternative tools very thoroughly. The only notable gap is that it does not enumerate the exact fields returned in each fill row, but the cursor format and fill semantics are sufficiently described for an agent to page through results correctly.

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?

The input schema already documents all four parameters at 100% coverage, so the baseline is 3. The description adds meaningful semantics beyond the schema: the 'before' cursor is explicitly tied to the last row of the previous page, omitting it reads the head, and filtering behavior is clarified in the context of the complete feed. This justifies a score above baseline.

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?

The description clearly identifies the tool as a feed of executed buys (fills), defines what a fill means, and distinguishes it from market asks. It also names the specific filter dimensions (resourceId, hubTokenId), so an agent can identify exactly what this endpoint returns.

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

Usage Guidelines5/5

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

The description explicitly tells the agent when to use this tool, how to pair it with cpu_get_markets, and when not to use it (e.g., for assembling your own trades, use cpu_list_my_lots). It also gives precise paging strategy, including how to detect new fills since the last read and why there is no 'since' parameter.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/projectcpu/project-cpu-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server