# Microgram: kcl-field-balance

`station__algovigilance__microgram-kcl-field-balance` · native (always callable) · domain `algovigilance` · pv-relevance `pv-core`

Kirchhoff's Current Law analog for chain steps — verify field conservation at each node. Fields into a step should equal fields out (in accumulate mode) or be explicitly declared as consumed. Detects silent field creation (collision) and silent field loss.

## Agent metadata

- `idempotent`: true
- `read_only`: true
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `fields_in` *number* (required) — Number of fields entering this step
- `fields_out` *number* (required) — Number of fields leaving this step
- `declared_outputs` *number* — Number of outputs declared in this step's interface
- `collisions` *number* — Number of output fields that overwrite existing fields
- `accumulate_mode` *boolean* — Whether the chain uses accumulate semantics

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__algovigilance__microgram-kcl-field-balance",
    "arguments": {
      "fields_in": 0,
      "fields_out": 0
    }
  }
}
```

## Related

- [/tools](/tools) — all 7718 tools
- [/tools/algovigilance__microgram-kcl-field-balance](/tools/algovigilance__microgram-kcl-field-balance) — HTML page
- [/tools/algovigilance__microgram-kcl-field-balance/json](/tools/algovigilance__microgram-kcl-field-balance/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
