Skip to main content
Glama

Oxyo (oxyo.si) — Cut Coding Agent Token & Quota Burn by up to 72%

oxyo_causal_infer

Read-onlyIdempotent

Query the root-cause graph to trace upstream failure sources (diagnose), downstream blast radius (intervene), simulated interventions (do_calculus, counterfactual), or highest-value diagnostic checks (experiments). Use to analyze recorded dependencies; call oxyo_causal_record to add new edges.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "oxyo_causal_infer"
  }
}

Input Schema

NameRequiredDescriptionDefault
doNoOptional forced node state map {node: 0.0..1.0} for 'do_calculus' or 'counterfactual'.
modeNoAnalysis mode: 'diagnose' (causes), 'intervene' (effects), 'do_calculus', 'counterfactual', or 'experiments'.intervene
scopeNoOptional project/repo scope filter.
entityNoTarget symptom (for 'diagnose') or upstream node (for 'intervene') to analyze.
factualNoOptional observed node state map {node: 0.0..1.0} for 'counterfactual' queries.
max_hopsNoMaximum multi-hop traversal depth across the causal graph (1..8).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / do / description
      Previous value: -"Optional intervention map {node: 0.0..1.0} for `do_calculus` or `counterfactual`"New value: +"Optional forced node state map {node: 0.0..1.0} for 'do_calculus' or 'counterfactual'."
    • changedInput schema / properties / entity / description
      Previous value: -"Target or seed causal entity"New value: +"Target symptom (for 'diagnose') or upstream node (for 'intervene') to analyze."
    • changedInput schema / properties / factual / description
      Previous value: -"Optional observed factual state {node: 0.0..1.0} for `counterfactual`"New value: +"Optional observed node state map {node: 0.0..1.0} for 'counterfactual' queries."
    • addedInput schema / properties / max_hops / description
      Added value: +"Maximum multi-hop traversal depth across the causal graph (1..8)."
    • addedInput schema / properties / mode / description
      Added value: +"Analysis mode: 'diagnose' (causes), 'intervene' (effects), 'do_calculus', 'counterfactual', or 'experiments'."
    • changedInput schema / properties / scope / description
      Previous value: -"Optional project/repo scope"New value: +"Optional project/repo scope filter."
  2. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds that analysis operates over previously 'recorded dependencies', which is useful context, but says nothing about truncation via max_hops, empty/unknown-node behavior, or what the traversal returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the resource and the mode taxonomy, then the routing hint. No filler, no restatement of the tool name or title.

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?

Given six params, nested objects, an enum with five branches and no output schema, the description covers mode selection and the write-side sibling but leaves the response shape unexplained. An agent knows what to ask for but not what comes back (paths? scores? ranked nodes?).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by giving the tersely-labeled enum values real meaning ('blast radius', 'highest-value diagnostic checks') and by framing 'do_calculus'/'counterfactual' as simulated interventions, which clarifies the intent behind the `do`/`factual` maps.

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?

Specific verb+resource ('Query the root-cause graph') with an enumerated mapping of every mode to the analytic question it answers (diagnose→upstream sources, intervene→blast radius, experiments→highest-value checks). It also explicitly contrasts itself with the write-side sibling oxyo_causal_record, so an agent can distinguish the two without opening a schema.

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

Usage Guidelines4/5

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

'Use to analyze recorded dependencies; call oxyo_causal_record to add new edges' gives a clear usage context and names the alternative tool for the write case. The per-mode phrasings also imply which mode to pick, but there are no explicit exclusions or prerequisites (e.g., empty graph behavior, whether edges must exist first).

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.