x402-log-base
Log Base: Calculate the logarithm of a value with a specified base. Provide value and optional base (default 10).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base to process | |
| value | No | Value to process |
Log Base: Calculate the logarithm of a value with a specified base. Provide value and optional base (default 10).
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base to process | |
| value | No | Value to process |
Changes observed during successful MCP inspections.
Input schema / properties / baseAdded value: +{
+ "description": "Base to process",
+ "type": "string"
+}Input schema / properties / valueAdded value: +{
+ "description": "Value to process",
+ "type": "string"
+}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.
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.
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.
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.
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.
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.
Add one secure layer between your agents and this server.