Skip to main content
Glama

Daily upkeep for a base

calculate_upkeep
Read-onlyIdempotent

[Calculators] Daily upkeep for a base. The upkeep calculator page's math: the block count walks Rust's default upkeep brackets to a blended daily rate, and each resource's daily upkeep is what was spent building times that rate (per_week = 7 days).

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": {
      "blocks": "<blocks>"
    },
    "name": "calculate_upkeep"
  }
}

Input Schema

NameRequiredDescriptionDefault
woodNoTotal wood spent building the base.
stoneNoTotal stone spent.
blocksYesNumber of building blocks (foundations, walls, floors... each counts one).
metal_fragmentsNoTotal metal fragments spent.
high_quality_metalNoTotal high quality metal spent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, and the description adds the calculation methodology (default upkeep brackets, blended rate, 7-day week) that the agent cannot get from annotations or schema.

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?

Dense but front-loaded, leading with the purpose before the math. The parenthetical `per_week` = 7 days introduces a name not present in the input schema, which is slightly jarring but compact overall.

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 calculator with no output schema, the description explains the computation but not the shape or units of the returned values (aside from a passing per_week reference), leaving the agent to infer the response format.

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 the baseline is 3, but the description adds real meaning: blocks drives the bracket-based blended rate while the resource inputs are amounts spent building, and it explains the per_week = 7 days conversion that ties inputs to output.

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+resource ('Daily upkeep for a base') and clarifies it mirrors the site's upkeep calculator math. It does not explicitly differentiate itself from the closest sibling calculate_base_cost, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is implied by naming it an upkeep calculator and describing its math, but there is no explicit when-to-use/when-not guidance and no pointer to alternatives like calculate_base_cost or calculate_decay.

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