Skip to main content
Glama

Melvor Idle 2 Guide

GP income calculator

calculate_gp
Read-onlyIdempotent

Calculate net GP, GP per hour and time to a GP goal from a website Income route ID or a measured run. Input fields override preset values. Active time is required for a manual run.

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

Input Schema

NameRequiredDescriptionDefault
unitsNo
goalGpNo
unitGpNo
costsGpNo
otherGpNo
routeIdNo
directGpNo
stockValueNo
activeSecondsNo
gatheringSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description adds genuine behavioral context beyond that: precedence rules ('Input fields override preset values') and a validation constraint (active time mandatory for manual runs), and the first sentence effectively discloses what is returned. It does not clarify how errors or partial inputs are handled.

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?

Three short sentences, front-loaded with the output set and the two input paths, then the override rule, then the precondition. Every sentence carries information; the only mildly opaque phrase is 'preset values', which is never grounded.

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?

The description conveys what the tool computes and how it is fed, which is the core need for a read-only calculator with no output schema. However, with 10 optional parameters, zero schema description coverage, and no explanation of which fields belong to the preset route versus a manual run, an agent cannot confidently construct a manual-run call from the definition alone.

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 10 parameters, so the description must carry the burden and largely does not. It explains routeId and activeSeconds and ties goalGp to the goal output, but units, unitGp, costsGp, otherGp, directGp, stockValue and gatheringSeconds are nowhere defined, and the distinction between 'units' and 'unitGp' or the meaning of 'preset values' is left ambiguous.

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 (calculate) and the exact outputs (net GP, GP per hour, time to a GP goal), plus the two accepted input modes: a website Income route ID or a measured run. An agent can distinguish this from calculate_drop or calculate_xp by resource, though the description never explicitly names those siblings.

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?

The two operating modes are clearly implied — a preset route via routeId versus a manual measured run — and a concrete precondition is given ('Active time is required for a manual run'), which steers mode selection. No explicit when-not or exclusions are stated, so it stops short of a 5.

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.