Skip to main content
Glama

x402-earnings-yield

Earnings Yield: Computes earnings divided by price times 100 as a yield percentage 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
priceNo
earningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / earnings / description
      Removed value: -"Earnings to process"
    • removedInput schema / properties / price / description
      Removed value: -"Price to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / earnings
      Added value: +{
      +  "description": "Earnings to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / price
      Added value: +{
      +  "description": "Price to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses the computation, implying a pure deterministic calculation with no side effects, but says nothing about validation, string-vs-number handling, error behavior, or output shape. The '5 free trial calls per signed wallet' line is billing information, not behavioral disclosure.

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?

Front-loaded with the tool name and formula in a single tight sentence; nothing is padded or redundant. The trailing emoji/free-trial blurb is promotional rather than descriptive, but it is short and does not obscure the purpose.

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 simple two-parameter pure calculation with no output schema, the formula is arguably the key missing piece and it is present, so an agent can compute correctly. However, with 0% schema coverage and both params non-required, the definition should clarify input types/units and which inputs are actually needed — that gap keeps it at minimally adequate.

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% for both parameters, so the description must compensate. The formula does imply the role of each input ('earnings' is the numerator, 'price' the denominator), which is genuine added meaning, but it gives no format, unit, sign, or requiredness guidance — and the schema oddly marks both as optional.

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 and gives the exact formula (earnings / price * 100), which distinguishes it in spirit from inverse siblings like x402-price-earnings and from other yield tools such as x402-dividend-yield or x402-current-yield. It never names a sibling, so the differentiation is implicit rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no pointer to alternatives, despite ~600 siblings including near-identical yield/ratio calculators (x402-price-earnings, x402-percent-yield, x402-returns). The only context offered is a marketing/pricing line about free trial calls.

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