Skip to main content
Glama

Sage Agent x402 Tools

ai_reasoning_120b

Read-only

Runs OpenAI gpt-oss-120B chain-of-thought reasoning on Cloudflare Edge with configurable reasoning effort (low/medium/high) and optional strict JSON output mode. Use for hard math, planning, or strict-JSON single-prompt reasoning; use ai_nemotron_550b for multi-turn chat arrays or 550B synthesis, or ai_code_security_review for code audits. Read-only, stateless; costs $0.050 Base USDC via x402 (unpaid calls return a v2 quote challenge without charging; invalid inputs return 400 uncharged).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "ai_reasoning_120b"
  }
}

Input Schema

NameRequiredDescriptionDefault
effortNoChain-of-thought reasoning depth: 'low' (fastest), 'medium' (balanced, default), or 'high' (deepest verification).medium
promptYesPrimary problem statement, calculation, or reasoning task for the 120B model.
json_modeNoWhen true, enforces valid JSON-only output in the final answer (default false).
instructionsNoOptional system-level instructions, constraints, or output schema specification.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only/destructive/idempotent semantics, but the description adds critical behavior they do not: statelessness, the $0.050 USDC x402 cost, that unpaid calls return a v2 quote challenge without charging, and that invalid inputs return 400 uncharged. This directly answers an agent's risk questions about payment and side effects before invoking.

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?

Three tightly packed sentences with no filler: purpose first, routing second, cost/failure semantics last. Dense but well ordered; the final billing sentence bundles many clauses and could be split for scannability, which keeps it just short of ideal.

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

Completeness5/5

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

For a stateless single-prompt inference tool with no output schema, the description covers everything needed to call it correctly: what it does, which alternatives to prefer, cost, and failure-mode behavior (quote challenge, 400 uncharged). Nothing material is missing.

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 100%, and the schema already documents effort semantics, defaults, and json_mode, so the description need not compensate. It adds only the framing that effort controls 'reasoning depth' and json_mode is optional — useful but largely redundant with the enum descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Runs OpenAI gpt-oss-120B chain-of-thought reasoning on Cloudflare Edge') plus its two distinguishing capabilities (configurable effort, strict JSON output). It then names the exact sibling scenarios it does not serve, so an agent can route without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit positive trigger ('hard math, planning, or strict-JSON single-prompt reasoning') and explicitly routes two alternative workloads away (multi-turn chat arrays / 550B synthesis to ai_nemotron_550b, code audits to ai_code_security_review). Both when-to-use and when-not-to-use are present.

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.