Skip to main content
Glama
poe-craft-mcp

poe-craft-mcp

mod_odds

Read-onlyIdempotent

Calculates per-attempt odds of rolling target modifiers on a Path of Exile base at a given item level for chaos, alt, essence, or fossil crafting; returns expected attempts and a 90% attempt count.

Instructions

Chance per attempt of rolling at least one of target_mods (mods.json ids such as 'IncreasedLife7') on base (base type name, e.g. 'Vaal Regalia') at item level ilvl. method: 'chaos', 'alt', 'essence:' or 'fossil:[,...]'. Returns chance_per_attempt, expected_attempts, n90 (attempts for a 90% chance), the weight table used, assumptions, export_version and warnings.

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": {
      "base": "<base>",
      "ilvl": "<ilvl>",
      "target_mods": "<target_mods>",
      "method": "<method>"
    },
    "name": "mod_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseYes
ilvlYes
methodYes
target_modsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

The readOnlyHint and idempotentHint annotations already establish this as a safe, deterministic read, so the description's burden is lighter. It adds some value by disclosing that results come with assumptions, warnings and a weight table, signalling the output is model-based and may carry caveats, but it says nothing about data freshness, game-version dependence, or behavior when the target is unattainable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences, front-loaded with the calculation, then the parameter conventions, then the return contract. No filler, and each sentence covers a distinct facet an agent needs.

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

Completeness4/5

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

An output schema exists, so restating return fields is redundant but harmless; the substantive gaps are the ilvl domain and what happens on an impossible roll. For a four-parameter calculation tool with all parameters required, the definition gives enough to call it correctly on the first attempt.

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?

With 0% schema coverage, the description carries the full documentation load and mostly succeeds: it gives the id format and an example for target_mods ('IncreasedLife7'), the base naming style ('Vaal Regalia'), and a four-way syntax for method including the essence: and fossil: prefixes. The gap is ilvl, which gets only the words 'item level' with no valid range or constraint.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States exactly what is computed: the per-attempt chance of rolling at least one target mod on a given base at a given item level. The scope is unambiguous and no sibling (pricing, recipes, league status) could be confused with it.

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 only implied by the framing of a crafting-odds calculation; there is no explicit statement of when to reach for this versus a price or recipe lookup, nor any preconditions or exclusions. It is adequate for an agent that already knows it wants odds, but it offers no routing guidance.

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