Skip to main content
Glama

makememoneynomistakes.ai: ERC-8004 agent reputation and fraud checks

Open Commerce Pathways: ledger

pathways_ledger
Read-only

Step 6 of Open Commerce Pathways: the real money in and out of the wallet that paid for your x402 compute runs, from Base USDC transfers we scan onchain since its first run. Income counts only x402 (EIP-3009) payments to that wallet; plain transfers in are deposits. Spend is split into our fees, route sellers and other; spend.planned_usdc and income.planned_usdc are the planned line (purchases a Pathways plan issued, and x402 sales after the first of them). profit is true only when coverage is current and net_planned_usdc is positive; net_usdc is the whole wallet. Free within the per-IP allowance, then $0.002. Live data only.

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": {
      "wallet": "<wallet>"
    },
    "name": "pathways_ledger"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesThe address that paid for a pathway session or compute run.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "coverage": {
      -        "properties": {
      -          "current": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "current"
      -        ],
      -        "type": "object"
      -      },
      -      "deposits_usdc": {
      -        "type": "string"
      -      },
      -      "income": {
      -        "type": "object"
      -      },
      -      "items": {
      -        "type": "array"
      -      },
      -      "net_usdc": {
      -        "type": "string"
      -      },
      -      "note": {
      -        "type": "string"
      -      },
      -      "page": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "profit": {
      -        "type": "boolean"
      -      },
      -      "spend": {
      -        "type": "object"
      -      },
      -      "tracked_since": {
      -        "type": "string"
      -      },
      -      "wallet": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "wallet",
      -      "coverage",
      -      "net_usdc",
      -      "profit",
      -      "note"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "accepts": {
      -        "items": {
      -          "properties": {
      -            "amount": {
      -              "type": "string"
      -            },
      -            "asset": {
      -              "type": "string"
      -            },
      -            "network": {
      -              "type": "string"
      -            },
      -            "payTo": {
      -              "type": "string"
      -            },
      -            "scheme": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "scheme",
      -            "network",
      -            "amount",
      -            "asset",
      -            "payTo"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "resource": {
      -        "properties": {
      -          "url": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "url"
      -        ],
      -        "type": "object"
      -      },
      -      "x402Version": {
      -        "const": 2,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "x402Version",
      -      "accepts"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "coverage": {
      +        "properties": {
      +          "current": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "current"
      +        ],
      +        "type": "object"
      +      },
      +      "deposits_usdc": {
      +        "type": "string"
      +      },
      +      "income": {
      +        "type": "object"
      +      },
      +      "items": {
      +        "type": "array"
      +      },
      +      "net_planned_usdc": {
      +        "type": "string"
      +      },
      +      "net_usdc": {
      +        "type": "string"
      +      },
      +      "note": {
      +        "type": "string"
      +      },
      +      "page": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "planned": {
      +        "type": "object"
      +      },
      +      "profit": {
      +        "type": "boolean"
      +      },
      +      "spend": {
      +        "type": "object"
      +      },
      +      "tracked_since": {
      +        "type": "string"
      +      },
      +      "wallet": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "wallet",
      +      "coverage",
      +      "net_usdc",
      +      "net_planned_usdc",
      +      "profit",
      +      "note"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "accepts": {
      +        "items": {
      +          "properties": {
      +            "amount": {
      +              "type": "string"
      +            },
      +            "asset": {
      +              "type": "string"
      +            },
      +            "network": {
      +              "type": "string"
      +            },
      +            "payTo": {
      +              "type": "string"
      +            },
      +            "scheme": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "scheme",
      +            "network",
      +            "amount",
      +            "asset",
      +            "payTo"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "resource": {
      +        "properties": {
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "x402Version": {
      +        "const": 2,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "x402Version",
      +      "accepts"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "coverage": {
      -        "properties": {
      -          "current": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "current"
      -        ],
      -        "type": "object"
      -      },
      -      "deposits_usdc": {
      -        "type": "string"
      -      },
      -      "income": {
      -        "type": "object"
      -      },
      -      "items": {
      -        "type": "array"
      -      },
      -      "net_usdc": {
      -        "type": "string"
      -      },
      -      "note": {
      -        "type": "string"
      -      },
      -      "profit": {
      -        "type": "boolean"
      -      },
      -      "spend": {
      -        "type": "object"
      -      },
      -      "tracked_since": {
      -        "type": "string"
      -      },
      -      "wallet": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "wallet",
      -      "coverage",
      -      "net_usdc",
      -      "profit",
      -      "note"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "accepts": {
      -        "items": {
      -          "properties": {
      -            "amount": {
      -              "type": "string"
      -            },
      -            "asset": {
      -              "type": "string"
      -            },
      -            "network": {
      -              "type": "string"
      -            },
      -            "payTo": {
      -              "type": "string"
      -            },
      -            "scheme": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "scheme",
      -            "network",
      -            "amount",
      -            "asset",
      -            "payTo"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "resource": {
      -        "properties": {
      -          "url": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "url"
      -        ],
      -        "type": "object"
      -      },
      -      "x402Version": {
      -        "const": 2,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "x402Version",
      -      "accepts"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "coverage": {
      +        "properties": {
      +          "current": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "current"
      +        ],
      +        "type": "object"
      +      },
      +      "deposits_usdc": {
      +        "type": "string"
      +      },
      +      "income": {
      +        "type": "object"
      +      },
      +      "items": {
      +        "type": "array"
      +      },
      +      "net_usdc": {
      +        "type": "string"
      +      },
      +      "note": {
      +        "type": "string"
      +      },
      +      "page": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "profit": {
      +        "type": "boolean"
      +      },
      +      "spend": {
      +        "type": "object"
      +      },
      +      "tracked_since": {
      +        "type": "string"
      +      },
      +      "wallet": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "wallet",
      +      "coverage",
      +      "net_usdc",
      +      "profit",
      +      "note"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "accepts": {
      +        "items": {
      +          "properties": {
      +            "amount": {
      +              "type": "string"
      +            },
      +            "asset": {
      +              "type": "string"
      +            },
      +            "network": {
      +              "type": "string"
      +            },
      +            "payTo": {
      +              "type": "string"
      +            },
      +            "scheme": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "scheme",
      +            "network",
      +            "amount",
      +            "asset",
      +            "payTo"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "resource": {
      +        "properties": {
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "x402Version": {
      +        "const": 2,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "x402Version",
      +      "accepts"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / wallet / description
      Previous value: -"The address that paid for a pathway compute run."New value: +"The address that paid for a pathway session or compute run."
  4. Added

TDQS

A3.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, but the description adds important behavior beyond them: pricing ('Free within the per-IP allowance, then $0.002'), freshness ('Live data only'), data source (Base USDC transfers scanned onchain since its first run), and detailed field semantics such as deposits vs. x402 income, planned vs. net amounts, and the profit flag.

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?

The description is a dense run-on with many clauses and semicolon-separated details, making it harder to parse than necessary. It contains no obvious filler, but it front-loads 'Step 6 of Open Commerce Pathways' context rather than leading with the tool's core action.

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?

An output schema exists, so the description need not explain return values, yet it does clarify ledger semantics, freshness, cost, and data provenance. For a one-parameter read-only tool with full schema coverage and annotations, this is nearly complete, though usage routing to sibling tools remains absent.

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% and the single wallet parameter is already documented in the schema as the address that paid for a pathway session or compute run. The description reinforces that this is the paying wallet for x402 compute runs, but adds no format, syntax, or validation detail beyond the schema.

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?

The description states a specific resource: a wallet ledger showing real money in and out from Base USDC transfers since the first run. It distinguishes itself implicitly from sibling pathway tools like plan/run/session by focusing on accounting, but never names or explicitly contrasts those alternatives.

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

Usage Guidelines3/5

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

Usage is implied by 'Step 6 of Open Commerce Pathways' and 'the real money in and out of the wallet', suggesting it is used to audit a payer wallet. However, there is no explicit when-to-use, when-not-to-use, or alternative-tool guidance such as comparing it to pathways_report or outcomes.

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