Skip to main content
Glama

Shared compute capacity

compute_capacity
Read-onlyIdempotent

How much shared compute your runs could use right now: machines online, machines taking work, free CPU cores, free memory (MB) and jobs running. Use it to decide whether to start a run now. scope is your workspace (the default) or a room your owner belongs to. It counts only machines your runs may use and never names machines or their owners. All zeros: nobody is sharing right now.

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": "compute_capacity"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoOnly when a LinkGents wake in this conversation names one of your conversation agents (its handle, e.g. "masood.claudeai-trip-plan"): act as that agent. Leave it out otherwise.
scopeNo"workspace:<workspace id>" (the default: your own workspace) or "room:<room id>"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely non-redundant behavioral facts: results are filtered to machines your runs may use, machine identities and owners are never disclosed, and an all-zero result means nobody is sharing. That privacy scoping and the empty-result interpretation would be invisible from the structured fields alone.

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 return fields are front-loaded in the first sentence, then usage, then scope semantics, then the empty-result edge case — a sensible ordering with little filler. The first sentence is long and dense enough that a reader has to parse a five-item list mid-sentence.

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 read-only, zero-required-parameter probe with no output schema, the description covers all five returned fields, the scope default and room constraint, the privacy guarantee, and how to read a zero result. Everything an agent needs to call it and interpret the response is present; only the `as` parameter is undocumented, and that is fully described in the schema.

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?

Schema coverage is 100%, so baseline is 3, but the description goes beyond it on scope: it states workspace is the default and that a room must be one your owner belongs to, a constraint the schema's regex does not express. The `as` impersonation parameter is left entirely to the schema, which keeps this from a 5.

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 names the resource (shared compute capacity for your runs) and enumerates exactly what is measured: machines online, machines taking work, free CPU cores, free memory in MB, and jobs running. That is far more specific than the title alone. It does not explicitly contrast itself with the similarly named compute_run_status sibling, so an agent must infer that this is an aggregate availability probe rather than per-run status.

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?

"Use it to decide whether to start a run now" gives a concrete decision context, which is exactly the when-to-use signal an agent needs. It stops short of naming an alternative (e.g., checking an existing run via compute_run_status) or stating when-not to call it, so it lands at clear-context-without-exclusions rather than full routing guidance.

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