Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-pe-ratio

Pe Ratio: Price-to-earnings ratio. Takes price and earnings. Returns the P/E rounded to 2 decimals as result. 🆓 5 free trial calls per signed wallet

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": "x402-pe-ratio"
  }
}

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

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the return format (rounded to 2 decimals) and the 5-free-trial-per-signed-wallet limit, but says nothing about input validation, what happens when earnings is zero, or how errors are surfaced.

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?

The definition is short, front-loaded with the operation and output format, and contains no filler. Each sentence contributes something (purpose, inputs, output rounding, trial limit).

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 calculator with no output schema, the description covers purpose, output format, and trial limits adequately. However, gaps remain around input units/format and zero-earnings behavior, which matter for correct invocation given the 0% schema coverage and absence of annotations.

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%, so the description must compensate, and it only restates that the tool 'takes price and earnings' — the parameter names themselves. It gives no units or expected format (e.g., per-share currency values, decimal vs. integer) despite both parameters being typed as strings without explanation.

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 states a specific computation — price-to-earnings ratio from price and earnings — and specifies the output (P/E rounded to 2 decimals), which clearly separates it from the many other ratio tools in the sibling list. It stops short of explicitly differentiating itself from alternatives, but the domain label 'price-to-earnings' is unambiguous.

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 guidance, no prerequisites, and no mention of when another tool should be chosen instead. The only contextual note is the free-trial limit, which is pricing information rather than usage 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.

Resources