Skip to main content
Glama

Melvor Idle 2 Guide

Drop chance and loot calculator

calculate_drop
Read-onlyIdempotent

Calculate the chance of at least one drop, expected items and GP from independent kills. Use an enemy and item ID for site presets or provide manual values. Chance inputs and numeric probability results are fractions from 0 to 1.

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": {
      "kills": "<kills>",
      "drop": "<drop>"
    },
    "name": "calculate_drop"
  }
}

Input Schema

NameRequiredDescriptionDefault
dropYes
killsYes
killsPerHourNo
costPerKillGpNo

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 cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's added contribution is the computational assumption of 'independent kills' (i.e., binomial-style compounding) and the note that 'chance inputs and numeric probability results are fractions from 0 to 1' — unit semantics an annotation could never convey. It does not describe output shape or the GP fields, which limits it to a 4.

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 sentences, no filler, and the core purpose is front-loaded before the mode and unit notes. The final sentence on fraction units is well placed as a caveat; nothing is redundant.

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?

With four parameters, a nested oneOf, no output schema, and zero schema description coverage, the definition should do more heavy lifting. It adequately covers the preset/manual split and probability units, and sketches the return values (chance, expected items, GP), but leaves the hourly-rate, cost-per-kill, and GP-per-kill parameters undocumented — a real gap for a calculator with a two-branch schema.

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 description coverage is 0%, so the description must carry the parameter meaning. It does well on the mode branch (enemyId/itemId for presets vs. manual values) and on chance units (fraction 0–1), but says nothing about killsPerHour, costPerKillGp, sellGp, quantityOnSuccess, directGpPerKill, or otherLootGpPerKill, leaving the entire GP/loot side of the schema unexplained.

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 leads with a specific verb+resource: 'Calculate the chance of at least one drop, expected items and GP from independent kills.' That clearly distinguishes it from calculate_gp and calculate_xp by naming drop chance as the output. It stops short of explicitly contrasting itself with those siblings, but an agent can tell it computes per-item drop statistics rather than raw GP or XP.

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?

It gives genuine mode-selection guidance: 'Use an enemy and item ID for site presets or provide manual values,' which tells the agent which branch of the drop schema to populate. However, it offers no when-to-use vs. when-not guidance relative to calculate_gp or the wiki/idle-combat siblings, so the usage framing is implied rather than explicit.

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.