Skip to main content
Glama

Crypto Markets Desk

Convert Probability / Odds

convert_probability
Read-only

Convert between implied probability, American odds, and decimal odds. Give one value and its format and get all three back (American odds carry no commas, e.g. +441 or -200). Use for "what is +150 as a probability", "convert 62% to American odds", "decimal to implied odds".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueNoThe numeric value to convert. Needed for a real answer, with format. Accepts a number or a numeric string ("+150", "62%", "2.5").
formatNoFormat of `value`: probability (0–100 %), american (e.g. -200 / +150), or decimal (e.g. 2.5). One of: probability · american · decimal.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourcesNo
tell_userNoShow this sentence to the user first.
timestampNo
needs_inputNo
decimal_oddsNoDecimal odds.
example_callNo
american_oddsNoAmerican odds, no commas.
data_freshnessNo
probability_pctNoImplied probability, %.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety and side-effect profile is fully covered and the barrage for extra behavioral detail is low. The description adds the return shape ('get all three back') and the no-comma formatting convention for American odds, but says nothing about invalid inputs or rounding behavior.

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 tight sentences: purpose first, then the I/O contract with the formatting caveat, then example phrasings. Front-loaded and free of filler, though the example queries partially duplicate what the schema already illustrates.

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?

With an output schema present, the return values need not be spelled out, and annotations cover the safety profile; the description supplies the conversion set and input convention. It is essentially complete for a pure-function tool, with only edge-case behavior (invalid percentages, odds of 0) unaddressed.

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 100%, so both parameters are already documented in the schema, including accepted string forms ('+150', '62%', '2.5') and the enumerated format values. The description only restates 'give one value and its format' and adds the no-comma note, so baseline 3 is appropriate.

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 a specific verb and resource ('Convert between implied probability, American odds, and decimal odds') and defines the exact I/O contract: one value plus its format in, all three representations out. This is clearly distinguishable from siblings like calculate_ev and kelly_size, which consume odds rather than translate them.

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?

Gives concrete usage triggers via example phrasings ('what is +150 as a probability', 'convert 62% to American odds'), which tell the agent exactly which requests route here. It does not name exclusions or sibling alternatives (e.g. when to prefer calculate_ev or kelly_size), so it stops short of 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.