Skip to main content
Glama

solve_optimal_workload_allocation

Read-onlyIdempotent

Determine optimal percentage splits of AI workloads across orbital and terrestrial compute shells to satisfy latency SLAs while accounting for space weather and grid pricing.

Instructions

Multi-shell percentage constraint solver for cluster schedulers (SkyPilot, Kubernetes, SOOS). Outputs exact splits across 650 km Dawn-Dusk SSO, 320 km self-cleaning VLEO Edge, and Terrestrial Spot Grids based on latency SLA, Turyshev downlink intensity, van Berkel roofline, space weather, and electricity price.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
grid_hubNobaseline
storm_modeNolive
realism_modeNotarget
workload_typeNofrontier_training
max_latency_msNo
grid_price_usd_mwhNo
comm_intensity_bits_per_flopNo

Output Schema

NameRequiredDescriptionDefault
attestationNo
schema_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv2.4.0
    • removedInput schema / properties / comm_intensity_bits_per_flop / description
      Removed value: -"Turyshev I/O intensity (bits/FLOP); automatically shifts downlink-bound multimodal workloads to Earth."
    • removedInput schema / properties / grid_hub / description
      Removed value: -"Live wholesale electricity hub (ercot, pjm, epex) or $115/MWh baseline."
    • changedInput schema / properties / grid_hub / enum
      Previous value: -[
      -  "baseline",
      -  "ercot",
      -  "pjm",
      -  "epex"
      -]New value: +[
      +  "baseline",
      +  "ercot",
      +  "pjm",
      +  "pjm_dom",
      +  "epex"
      +]
    • removedInput schema / properties / grid_price_usd_mwh / description
      Removed value: -"Spot grid price in USD/MWh; if omitted, uses grid_hub."
    • removedInput schema / properties / max_latency_ms / description
      Removed value: -"Maximum acceptable one-way network latency in ms (<=6 ms prioritizes 320 km VLEO)."
    • addedInput schema / properties / realism_mode
      Added value: +{
      +  "default": "target",
      +  "enum": [
      +    "target",
      +    "conservative",
      +    "current_2026"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / storm_mode / description
      Removed value: -"Space weather regime."
    • removedInput schema / properties / workload_type / description
      Removed value: -"AI workload class controlling latency sensitivity and batchability."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "attestation": {
      +      "properties": {
      +        "algorithm": {
      +          "type": "string"
      +        },
      +        "canonicalization": {
      +          "type": "string"
      +        },
      +        "key_id": {
      +          "type": "string"
      +        },
      +        "signature": {
      +          "type": "string"
      +        },
      +        "state_hash_sha256": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "schema_version": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed7 schema fields changedv2.3.0
    • addedInput schema / properties / comm_intensity_bits_per_flop
      Added value: +{
      +  "default": 1e-8,
      +  "description": "Turyshev I/O intensity (bits/FLOP); automatically shifts downlink-bound multimodal workloads to Earth.",
      +  "maximum": 0.001,
      +  "minimum": 1e-11,
      +  "type": "number"
      +}
    • addedInput schema / properties / grid_hub
      Added value: +{
      +  "default": "baseline",
      +  "description": "Live wholesale electricity hub (ercot, pjm, epex) or $115/MWh baseline.",
      +  "enum": [
      +    "baseline",
      +    "ercot",
      +    "pjm",
      +    "epex"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / grid_price_usd_mwh / default
      Removed value: -115
    • addedInput schema / properties / grid_price_usd_mwh / description
      Added value: +"Spot grid price in USD/MWh; if omitted, uses grid_hub."
    • addedInput schema / properties / max_latency_ms / description
      Added value: +"Maximum acceptable one-way network latency in ms (<=6 ms prioritizes 320 km VLEO)."
    • addedInput schema / properties / storm_mode / description
      Added value: +"Space weather regime."
    • addedInput schema / properties / workload_type / description
      Added value: +"AI workload class controlling latency sensitivity and batchability."
  3. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already state that the tool is read-only, idempotent, non-destructive, and closed-world. The description adds that it solves for percentage splits based on latency, weather, downlink, roofline, and price, but it does not clarify limitations, execution behavior, or output format beyond what the output schema provides.

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?

The description is compact at two sentences and front-loads the solver identity and output. The dense jargon and undefined terms reduce immediate clarity, but there is no redundant wording.

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

Completeness3/5

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

For a seven-parameter solver, the description provides a useful high-level purpose and domain inputs, and the output schema and annotations cover return values and safety behavior. It remains incomplete because parameter meanings, enum semantics, and sibling selection guidance are absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across seven parameters, so the description must compensate. It names several domain factors that loosely correspond to parameters, but it does not map them to the actual parameter names, explain the enum values, or clarify defaults and ranges.

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 clearly states a specific solver that outputs exact workload splits across named orbital and terrestrial shells. It does not, however, distinguish this tool from sibling alternatives such as compute_arbitrage_dispatch or evaluate_orbital_compute_regime.

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

Usage Guidelines2/5

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

The only usage context is that it is for cluster schedulers, which weakly implies when to use it. There is no explicit guidance on when to choose this tool over sibling tools, nor any exclusions or prerequisites.

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