Skip to main content
Glama

Get Network Compute Units

get_network_compute_units
Read-onlyIdempotent

Daily total compute units consumed across the Solana network. Free tier, covered by Pipeworx's own Solscan key, no caller key needed. Pass range OR from_date+to_date, not both.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
rangeNoLookback window in days: 30, 90, 180, or 365 (default 30). Ignored if from_date/to_date are given, the vendor rejects any other value with a 400.
to_dateNoEnd date, YYYYMMDD. Use together with from_date instead of range.
from_dateNoStart date, YYYYMMDD. Use together with to_date instead of range.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / range / description
      Previous value: -"Lookback window in days: 30, 90, 180, or 365 (default 30). Ignored if from_date/to_date are given — the vendor rejects any other value with a 400."New value: +"Lookback window in days: 30, 90, 180, or 365 (default 30). Ignored if from_date/to_date are given, the vendor rejects any other value with a 400."
  2. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered elsewhere. The description adds real context beyond that: free tier, Pipeworx's own Solscan key, and that the vendor rejects invalid ranges with a 400. However, it says nothing about return granularity limits or rate limits.

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 short sentences with zero filler; the data scope and auth/usage constraints are front-loaded before the parameter rule. Every sentence carries useful information.

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 3-param read-only tool with no output schema, the definition covers data granularity, auth requirements, and parameter exclusivity, which is enough to call it correctly. It could mention what the returned series looks like, but that is a minor gap given the annotations.

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 already documents the enum range values, defaults, and the 'ignored if from_date/to_date are given' behavior. The description only reinforces the mutual exclusivity rule, adding marginal meaning beyond the schema, so 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?

Names a specific resource and scope: 'Daily total compute units consumed across the Solana network.' The resource (compute units) is distinct from the network siblings (fees, slots, stake, transactions), so an agent can differentiate it without opening the schema, though no sibling is named explicitly.

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 concrete usage context: free tier, no caller key required, and the mutually exclusive 'Pass range OR from_date+to_date, not both' rule. It lacks an explicit when-to-use-this-vs-a-sibling statement, but the operational conditions are clear.

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.