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).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseNoBase to process
valueNoValue to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +}
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full disclosure burden. It never states that this is a pure, side-effect-free numeric computation, nor does it describe the return format or behavior for invalid input (e.g. log of a negative value, non-numeric strings). Only a single default-value detail is offered.

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?

Two tight sentences with no filler, and the core purpose is front-loaded before the parameter note. Efficient, though the colon-prefixed restatement of the name costs a few words.

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 tool with no output schema and no annotations, the description covers inputs but omits the return shape (a number), edge-case behavior, and numeric-input expectations. Adequate but with clear gaps for an agent that must pass correctly-typed values.

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%, but the schema text is generic ('Base to process', 'Value to process'). The description adds the useful default ('base, default 10') which the schema lacks, but it does not clarify that these string-typed fields expect numeric input or that the base is optional. Baseline 3 with marginal added value.

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'), which is unambiguous and distinct from math siblings like x402-log-returns or x402-nroot. It does not explicitly name a sibling or contrast with adjacent log tools, so it falls short of a 5.

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?

The description says what inputs to supply ('Provide value and optional base') but gives no when-to-use context, no exclusions, and does not point to any alternative tool for related logarithmic operations. This is parameter guidance, not 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