Skip to main content
Glama

DAP Compute Market Tracker

Query the compute market console

compute_query
Read-only

Use when you need to filter, group, rank or chart compute market data in one call. Takes the console's query object and returns lines, headline numbers, a league table, contracts, events and sources. 50 free calls a day, then $0.01 USDC on Base per call via x402.

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": {
      "query": "<query>"
    },
    "name": "compute_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesThe console query object. {} is the default view: every line, all time. Filters are a tree of field, operator and value. Fields: provider, chip (GPU, e.g. h100-80), model (a model or its maker), region, geo, price_type, line, venue, status, layer (ids, with in or nin); usd_per_gpu_hour, usd_per_instance_hour, usd_per_gib_hour, gpus, gpu_memory_gib, change_30d, change_12m (gte, lte, between); first_listed (dates); text (contains). The result is what the console draws: matching list price lines (GPU rental per GPU-hour, model tokens per million, power per MWh; the metric chooses which), headline numbers with 30-day change, a league table, a chart series, contracts, events, index series, participants and every source. Any console URL can be turned into this object.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $defs / __schema0 / properties / children / items / anyOf
      Previous value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "field": {
      -            "enum": [
      -              "provider",
      -              "chip",
      -              "model",
      -              "instance",
      -              "region",
      -              "geo",
      -              "price_type",
      -              "line",
      -              "venue",
      -              "status",
      -              "layer"
      -            ],
      -            "type": "string"
      -          },
      -          "op": {
      -            "enum": [
      -              "in",
      -              "nin"
      -            ],
      -            "type": "string"
      -          },
      -          "value": {
      -            "items": {
      -              "pattern": "^[a-z0-9][a-z0-9._-]{0,63}$",
      -              "type": "string"
      -            },
      -            "maxItems": 200,
      -            "minItems": 1,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "field",
      -          "op",
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "field": {
      -            "enum": [
      -              "usd_per_gpu_hour",
      -              "usd_per_instance_hour",
      -              "usd_per_gib_hour",
      -              "gpus",
      -              "gpu_memory_gib",
      -              "change_30d",
      -              "change_12m"
      -            ],
      -            "type": "string"
      -          },
      -          "op": {
      -            "enum": [
      -              "gte",
      -              "lte",
      -              "between"
      -            ],
      -            "type": "string"
      -          },
      -          "value": {
      -            "anyOf": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "items": false,
      -                "maxItems": 2,
      -                "minItems": 2,
      -                "prefixItems": [
      -                  {
      -                    "type": "number"
      -                  },
      -                  {
      -                    "type": "number"
      -                  }
      -                ],
      -                "type": "array"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "field",
      -          "op",
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "field": {
      -            "enum": [
      -              "first_listed"
      -            ],
      -            "type": "string"
      -          },
      -          "op": {
      -            "enum": [
      -              "gte",
      -              "lte",
      -              "between"
      -            ],
      -            "type": "string"
      -          },
      -          "value": {
      -            "anyOf": [
      -              {
      -                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -                "type": "string"
      -              },
      -              {
      -                "items": false,
      -                "maxItems": 2,
      -                "minItems": 2,
      -                "prefixItems": [
      -                  {
      -                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -                    "type": "string"
      -                  }
      -                ],
      -                "type": "array"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "field",
      -          "op",
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "field": {
      -            "const": "text",
      -            "type": "string"
      -          },
      -          "op": {
      -            "const": "contains",
      -            "type": "string"
      -          },
      -          "value": {
      -            "maxLength": 80,
      -            "minLength": 1,
      -            "pattern": "^[\\p{L}\\p{N} ._/-]+$",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "field",
      -          "op",
      -          "value"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "$ref": "#/$defs/__schema0"
      -  }
      -]New value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "field": {
      +            "enum": [
      +              "provider",
      +              "chip",
      +              "model",
      +              "instance",
      +              "region",
      +              "geo",
      +              "price_type",
      +              "line",
      +              "venue",
      +              "status",
      +              "layer",
      +              "control"
      +            ],
      +            "type": "string"
      +          },
      +          "op": {
      +            "enum": [
      +              "in",
      +              "nin"
      +            ],
      +            "type": "string"
      +          },
      +          "value": {
      +            "items": {
      +              "pattern": "^[a-z0-9][a-z0-9._-]{0,63}$",
      +              "type": "string"
      +            },
      +            "maxItems": 200,
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "field",
      +          "op",
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "field": {
      +            "enum": [
      +              "usd_per_gpu_hour",
      +              "usd_per_instance_hour",
      +              "usd_per_gib_hour",
      +              "gpus",
      +              "gpu_memory_gib",
      +              "change_30d",
      +              "change_12m"
      +            ],
      +            "type": "string"
      +          },
      +          "op": {
      +            "enum": [
      +              "gte",
      +              "lte",
      +              "between"
      +            ],
      +            "type": "string"
      +          },
      +          "value": {
      +            "anyOf": [
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "items": false,
      +                "maxItems": 2,
      +                "minItems": 2,
      +                "prefixItems": [
      +                  {
      +                    "type": "number"
      +                  },
      +                  {
      +                    "type": "number"
      +                  }
      +                ],
      +                "type": "array"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "field",
      +          "op",
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "field": {
      +            "enum": [
      +              "first_listed"
      +            ],
      +            "type": "string"
      +          },
      +          "op": {
      +            "enum": [
      +              "gte",
      +              "lte",
      +              "between"
      +            ],
      +            "type": "string"
      +          },
      +          "value": {
      +            "anyOf": [
      +              {
      +                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +                "type": "string"
      +              },
      +              {
      +                "items": false,
      +                "maxItems": 2,
      +                "minItems": 2,
      +                "prefixItems": [
      +                  {
      +                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +                    "type": "string"
      +                  }
      +                ],
      +                "type": "array"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "field",
      +          "op",
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "field": {
      +            "const": "text",
      +            "type": "string"
      +          },
      +          "op": {
      +            "const": "contains",
      +            "type": "string"
      +          },
      +          "value": {
      +            "maxLength": 80,
      +            "minLength": 1,
      +            "pattern": "^[\\p{L}\\p{N} ._/-]+$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "field",
      +          "op",
      +          "value"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "$ref": "#/$defs/__schema0"
      +  }
      +]
    • changedInput schema / properties / query / properties / groupBy / enum
      Previous value: -[
      -  "line",
      -  "provider",
      -  "chip",
      -  "model",
      -  "region",
      -  "geo",
      -  "price_type",
      -  "venue",
      -  "status",
      -  "layer"
      -]New value: +[
      +  "line",
      +  "provider",
      +  "chip",
      +  "model",
      +  "region",
      +  "geo",
      +  "price_type",
      +  "venue",
      +  "status",
      +  "layer",
      +  "control"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"The console query object. {} is the default view: every line, all time."New value: +"The console query object. {} is the default view: every line, all time. Filters are a tree of field, operator and value. Fields: provider, chip (GPU, e.g. h100-80), model (a model or its maker), region, geo, price_type, line, venue, status, layer (ids, with in or nin); usd_per_gpu_hour, usd_per_instance_hour, usd_per_gib_hour, gpus, gpu_memory_gib, change_30d, change_12m (gte, lte, between); first_listed (dates); text (contains). The result is what the console draws: matching list price lines (GPU rental per GPU-hour, model tokens per million, power per MWh; the metric chooses which), headline numbers with 30-day change, a league table, a chart series, contracts, events, index series, participants and every source. Any console URL can be turned into this object."
  3. Changed1 schema field changed
    • changedInput schema / $defs / __schema0 / properties / children / items / anyOf
      Previous value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "field": {
      -            "enum": [
      -              "provider",
      -              "chip",
      -              "model",
      -              "region",
      -              "geo",
      -              "price_type",
      -              "line",
      -              "venue",
      -              "status",
      -              "layer"
      -            ],
      -            "type": "string"
      -          },
      -          "op": {
      -            "enum": [
      -              "in",
      -              "nin"
      -            ],
      -            "type": "string"
      -          },
      -          "value": {
      -            "items": {
      -              "pattern": "^[a-z0-9][a-z0-9._-]{0,63}$",
      -              "type": "string"
      -            },
      -            "maxItems": 200,
      -            "minItems": 1,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "field",
      -          "op",
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "field": {
      -            "enum": [
      -              "usd_per_gpu_hour",
      -              "usd_per_instance_hour",
      -              "usd_per_gib_hour",
      -              "gpus",
      -              "gpu_memory_gib",
      -              "change_30d",
      -              "change_12m"
      -            ],
      -            "type": "string"
      -          },
      -          "op": {
      -            "enum": [
      -              "gte",
      -              "lte",
      -              "between"
      -            ],
      -            "type": "string"
      -          },
      -          "value": {
      -            "anyOf": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "items": false,
      -                "maxItems": 2,
      -                "minItems": 2,
      -                "prefixItems": [
      -                  {
      -                    "type": "number"
      -                  },
      -                  {
      -                    "type": "number"
      -                  }
      -                ],
      -                "type": "array"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "field",
      -          "op",
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "field": {
      -            "enum": [
      -              "first_listed"
      -            ],
      -            "type": "string"
      -          },
      -          "op": {
      -            "enum": [
      -              "gte",
      -              "lte",
      -              "between"
      -            ],
      -            "type": "string"
      -          },
      -          "value": {
      -            "anyOf": [
      -              {
      -                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -                "type": "string"
      -              },
      -              {
      -                "items": false,
      -                "maxItems": 2,
      -                "minItems": 2,
      -                "prefixItems": [
      -                  {
      -                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -                    "type": "string"
      -                  }
      -                ],
      -                "type": "array"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "field",
      -          "op",
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "field": {
      -            "const": "text",
      -            "type": "string"
      -          },
      -          "op": {
      -            "const": "contains",
      -            "type": "string"
      -          },
      -          "value": {
      -            "maxLength": 80,
      -            "minLength": 1,
      -            "pattern": "^[\\p{L}\\p{N} ._/-]+$",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "field",
      -          "op",
      -          "value"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "$ref": "#/$defs/__schema0"
      -  }
      -]New value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "field": {
      +            "enum": [
      +              "provider",
      +              "chip",
      +              "model",
      +              "instance",
      +              "region",
      +              "geo",
      +              "price_type",
      +              "line",
      +              "venue",
      +              "status",
      +              "layer"
      +            ],
      +            "type": "string"
      +          },
      +          "op": {
      +            "enum": [
      +              "in",
      +              "nin"
      +            ],
      +            "type": "string"
      +          },
      +          "value": {
      +            "items": {
      +              "pattern": "^[a-z0-9][a-z0-9._-]{0,63}$",
      +              "type": "string"
      +            },
      +            "maxItems": 200,
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "field",
      +          "op",
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "field": {
      +            "enum": [
      +              "usd_per_gpu_hour",
      +              "usd_per_instance_hour",
      +              "usd_per_gib_hour",
      +              "gpus",
      +              "gpu_memory_gib",
      +              "change_30d",
      +              "change_12m"
      +            ],
      +            "type": "string"
      +          },
      +          "op": {
      +            "enum": [
      +              "gte",
      +              "lte",
      +              "between"
      +            ],
      +            "type": "string"
      +          },
      +          "value": {
      +            "anyOf": [
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "items": false,
      +                "maxItems": 2,
      +                "minItems": 2,
      +                "prefixItems": [
      +                  {
      +                    "type": "number"
      +                  },
      +                  {
      +                    "type": "number"
      +                  }
      +                ],
      +                "type": "array"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "field",
      +          "op",
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "field": {
      +            "enum": [
      +              "first_listed"
      +            ],
      +            "type": "string"
      +          },
      +          "op": {
      +            "enum": [
      +              "gte",
      +              "lte",
      +              "between"
      +            ],
      +            "type": "string"
      +          },
      +          "value": {
      +            "anyOf": [
      +              {
      +                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +                "type": "string"
      +              },
      +              {
      +                "items": false,
      +                "maxItems": 2,
      +                "minItems": 2,
      +                "prefixItems": [
      +                  {
      +                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +                    "type": "string"
      +                  }
      +                ],
      +                "type": "array"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "field",
      +          "op",
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "field": {
      +            "const": "text",
      +            "type": "string"
      +          },
      +          "op": {
      +            "const": "contains",
      +            "type": "string"
      +          },
      +          "value": {
      +            "maxLength": 80,
      +            "minLength": 1,
      +            "pattern": "^[\\p{L}\\p{N} ._/-]+$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "field",
      +          "op",
      +          "value"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "$ref": "#/$defs/__schema0"
      +  }
      +]
  4. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial context the annotations do not cover: the full return surface (lines, headline numbers, league table, contracts, events, sources) and, critically, the commercial behavior — 50 free calls per day, then $0.01 USDC on Base via x402. Rate limits and per-call cost are exactly the kind of operational fact an agent needs before invoking and are absent from readOnlyHint/openWorldHint.

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?

Three sentences, each load-bearing: trigger condition first, then return shape, then cost model. No restatement of the title or filler.

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?

For a deeply nested single-parameter query tool with no output schema, the description compensates well by enumerating the result components and the billing model. Combined with the 100%-covered schema, an agent has enough to decide to call and to anticipate what comes back.

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 description coverage is 100% and the query object carries an extensive inline description covering filter fields, operators, metrics and defaults. The tool description only frames it as 'the console's query object', adding no meaning beyond the schema, so the baseline 3 applies.

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 set and resource: 'filter, group, rank or chart compute market data in one call'. The phrase 'in one call' implicitly distinguishes it from the narrower siblings (compute_list_prices, list-price-changes), but no sibling is named explicitly, leaving the agent to infer the boundary.

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 a clear triggering condition ('Use when you need to filter, group, rank or chart...'), which is actionable. It stops short of naming alternatives or exclusions, so an agent comparing against compute_list_prices or find-cheapest-gpu-hour must reason about the 'one call' advantage on its own.

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