Skip to main content
Glama

Business Frameworks: read a node

bf_read_node
Read-only

Returns one node with its citations and a cite-as line; variant is full (default), terse (the lede alone) or agent (the text as fields: scope, inputs, rule, action, check, units, example, apply, recheck, recheck_note, closing_citation), one price. Free nodes (marked in bf_catalogue) cost nothing; the rest cost their catalogue price ($0.02 to $0.05, USDC on Base over x402), charged once a call, only when the node is returned. Call it with a path from bf_catalogue when the question needs that node's rule; prefer variant agent when you will answer from it (the decision in one sentence, first step, reason, next check, closing_citation last). Read the free parent first; bf_resolve for several nodes. A pin ("@1.4" or version) is served as GET /node/@: any listed version, earlier ones with superseded_by; one never served is version_not_current, nothing charged. Do not call a paid path to see what it contains: the catalogue line says what it covers; a rule on numbers is bf_apply_decision.

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": {
      "path": "<path>"
    },
    "name": "bf_read_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesNode path from bf_catalogue, e.g. "risk" (free) or "risk/decide/hurdle" (paid). A full handle is accepted.
variantNofull (default): lede, conditions and reasoning; terse: the lede alone; agent: the same text as fields (scope, inputs, rule, action, check, reasoning, units, example, apply, recheck, recheck_note, closing_citation). The same price for all three.
versionNoA document version to pin, e.g. "1.4" — any version bf_catalogue lists for the path; the same as writing "<path>@1.4". An earlier version returns that text with superseded_by; a version the path never had returns version_not_current, nothing charged.

Output Schema

NameRequiredDescriptionDefault
urlNo
kindNo
ruleNo
textNo
applyNo
checkNo
citesNo
scopeNo
titleNo
unitsNo
actionNo
handleYes
inputsNo
levelsNo
reviewNo
tokensNo
cite_asNo
exampleNo
recheckNo
relatedNo
variantNo
leads_toNo
versionsNo
citationsNo
reasoningNo
free_firstNo
text_sinceNo
recheck_noteNo
review_seriesNo
superseded_byNo
closing_citationNo
text_same_as_currentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / review
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / review_series
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / text_same_as_current
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / text_since
      Added value: +{
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / version
      Added value: +{
      +  "description": "A document version to pin, e.g. \"1.4\" — any version bf_catalogue lists for the path; the same as writing \"<path>@1.4\". An earlier version returns that text with superseded_by; a version the path never had returns version_not_current, nothing charged.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / superseded_by
      Added value: +{
      +  "type": "string"
      +}
  3. Changed3 schema fields changed
    • changedInput schema / properties / variant / description
      Previous value: -"full (default): lede, conditions and reasoning; terse: the lede alone. The same price either way."New value: +"full (default): lede, conditions and reasoning; terse: the lede alone; agent: the same text as fields (scope, inputs, rule, action, check, reasoning, units, example, apply, recheck, recheck_note, closing_citation). The same price for all three."
    • changedInput schema / properties / variant / enum
      Previous value: -[
      -  "full",
      -  "terse"
      -]New value: +[
      +  "full",
      +  "terse",
      +  "agent"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "description": "One node. full/terse: text (and levels), cites, related, cite_as. agent: the accepted text as fields — scope.applies_if / scope.not_for, inputs, rule, action, check, reasoning, units (every input's unit, bounds and default), example (the published example input run through the rule), citations, leads_to, apply (the applied route), free_first, recheck (cadence, trigger, handle, the exact re-run call), and two strings to paste unchanged: recheck_note and closing_citation.",
      +  "properties": {
      +    "action": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "apply": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "method": {
      +              "type": "string"
      +            },
      +            "schema_url": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "check": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "citations": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "cite_as": {
      +      "type": "string"
      +    },
      +    "cites": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "closing_citation": {
      +      "type": "string"
      +    },
      +    "example": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "action": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "basis": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "check": {
      +              "type": "string"
      +            },
      +            "error": {
      +              "type": "string"
      +            },
      +            "figures": {
      +              "additionalProperties": {},
      +              "properties": {},
      +              "type": "object"
      +            },
      +            "input": {
      +              "additionalProperties": {},
      +              "properties": {},
      +              "type": "object"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "verdict": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "free_first": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "handle": {
      +      "type": "string"
      +    },
      +    "inputs": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "kind": {
      +      "type": "string"
      +    },
      +    "leads_to": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "levels": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "conditions": {
      +          "type": "string"
      +        },
      +        "lede": {
      +          "type": "string"
      +        },
      +        "reasoning": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "lede"
      +      ],
      +      "type": "object"
      +    },
      +    "reasoning": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "recheck": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "cadence": {
      +              "anyOf": [
      +                {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    }
      +                  ]
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "handle": {
      +              "type": "string"
      +            },
      +            "rerun": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "body": {},
      +                "method": {
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "trigger": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "recheck_note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "related": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "rule": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "scope": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "applies_if": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "not_for": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "applies_if",
      +        "not_for"
      +      ],
      +      "type": "object"
      +    },
      +    "text": {
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "tokens": {
      +      "type": "number"
      +    },
      +    "units": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "fields": {
      +              "additionalProperties": {
      +                "additionalProperties": {},
      +                "properties": {},
      +                "type": "object"
      +              },
      +              "propertyNames": {
      +                "type": "string"
      +              },
      +              "type": "object"
      +            },
      +            "note": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "required": {
      +              "anyOf": [
      +                {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "url": {
      +      "type": "string"
      +    },
      +    "variant": {
      +      "enum": [
      +        "full",
      +        "terse",
      +        "agent"
      +      ],
      +      "type": "string"
      +    },
      +    "versions": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "handle"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive/closed-world annotations, it discloses a pay-per-call model (USDC on Base over x402, $0.02–$0.05, charged once per call, only when the node is returned) and the free/paid split marked in bf_catalogue. It also explains failure economics — a bad version pin returns version_not_current with nothing charged — which is exactly the context an agent needs before spending money.

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

Conciseness3/5

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

Nearly every clause carries information, and the return value is front-loaded, but the content is packed into a semicolon-chained run-on that interleaves return shape, pricing, variant guidance, version pinning, and anti-patterns. Splitting those concerns into short labeled sentences would cost no words and greatly improve scannability.

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 paid, version-pinnable read tool the description covers what is returned, what each variant yields, pricing and when it is charged, error semantics for stale/unknown versions, and the relevant sibling routing. With an output schema present, nothing an agent needs to invoke it correctly 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 description coverage is 100%, so the baseline is 3; the description mostly restates the variant field lists and the "<path>@1.4" pin syntax already documented in the schema. It does add one piece of meaning the schema lacks — that all three variants cost the same price — which nudges it above pure repetition but not to a 4.

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?

"Returns one node with its citations and a cite-as line" names a specific verb and resource and immediately enumerates the three `variant` shapes. It also differentiates from siblings by naming bf_catalogue as the source of `path` and bf_resolve as the multi-node alternative, so an agent can pick between them without opening schemas.

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?

It states when to call ("when the question needs that node's rule"), which variant to prefer and why ("prefer variant agent when you will answer from it"), an ordering rule ("Read the free parent first"), the sibling for multiple nodes (bf_resolve), and the sibling for numeric rules (bf_apply_decision). It even includes an explicit anti-pattern: "Do not call a paid path to see what it contains."

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.