Skip to main content
Glama

x402-is-octal

Is Octal: Validate whether a string consists only of octal digits (0-7). Returns true for valid octal notation like '755'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueNoValue to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It does disclose the return semantic ('Returns true for valid octal notation'), which is useful for a predicate, but it is silent on edge cases like empty strings, leading/trailing whitespace, or signs that would determine pass/fail.

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, purpose front-loaded ahead of the example and return behavior. The leading 'Is Octal:' label partially restates the tool name but is harmless and functional.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter pure predicate with no output schema, the description covers what it checks and what it returns. The remaining gap is edge-case behavior (empty/whitespace input), which is minor for a tool of this simplicity.

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 coverage is nominally 100%, but the schema's own description for 'value' is the generic 'Value to process'. The description partially compensates by clarifying that the value is a candidate octal-digit string, but adds no format, length, or edge-case semantics beyond that. Baseline 3 applies.

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 ('Validate') and resource (octal digit string), and pins down the exact character set (0-7) with a concrete example ('755'). This clearly distinguishes it from conversion siblings like x402-from-octal/x402-to-octal, though it never names an alternative explicitly.

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?

No when-to-use context, no exclusions, and no guidance on choosing this over related predicates such as x402-is-binary, x402-is-hex, or x402-is-numeric. The agent must infer usage entirely from the name and one-line description.

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