Skip to main content
Glama

x402-log-base

Log Base: Calculate the logarithm of a value with a specified base. Provide value and optional base (default 10). 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
baseNo
valueNo

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It discloses a quota ('5 free trial calls per signed wallet'), which is useful payment context, but says nothing about return format, domain restrictions (value must be positive, base must be positive and not 1), or error behavior for invalid input.

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 operation in the first clause, then the parameters, then the pricing note. All three sentences carry information, though the emoji-laden trial banner is promotional framing rather than tool semantics.

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 math utility with no output schema and no annotations, the description covers the operation and the default base. It falls short on input validity rules and result shape, which an agent would need to call it reliably since no structured field provides them.

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% and both parameters are typed only as untyped strings. The description names value and base and gives the default of 10, which is genuinely additive, but it does not explain the string encoding expected or any domain constraints on either operand.

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 and resource: 'Calculate the logarithm of a value with a specified base.' An agent can tell this is a logarithm tool immediately. However, it does not differentiate from nearby math siblings such as x402-nroot or x402-number-base, which could plausibly be confused for logarithmic work.

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?

'Provide value and optional base (default 10)' implies how to call it and removes ambiguity about the default. There is no explicit when-to-use or when-not-to-use guidance, and no alternative sibling is named for cases like arbitrary roots or power operations.

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