Skip to main content
Glama

Start a Workspace

ledger_start

Get a FREE AgentLedger workspace with no credential and no arguments — the MCP equivalent of opening POST /start in a browser.

Call this FIRST if you have no credentials yet. Every other tool here (ledger_track, ledger_set_budget, ledger_report, ledger_alerts) needs a workspace_key or an agent_secret, so a caller arriving with neither must start here or it has nowhere to go.

Takes NO arguments on purpose: the goal is zero friction. It returns a workspace_key (shown exactly once — it cannot be re-revealed, so store it before continuing) which you then send as workspace_key on your first ledger_track for a NEW agent_id. That first write returns the agent's own agent_secret, which authenticates every write after it.

The free tier includes every rail, enforced budget caps, alerts, reports and the MCP server, capped at 3 agents per workspace. Minting is rate-limited per caller IP, the same limit the human door uses.

Prefer to pay? POST /v1/billing/x402 with a wallet-signed payment needs no human and buys 24h of Pro (agent allowance per the live pass tier — see /pricing.md).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the generic safety profile (readOnlyHint=false, idempotentHint=false), while the description adds substantial non-obvious behavior: the workspace_key is revealed exactly once and cannot be re-revealed, minting is rate-limited per caller IP, the free tier is capped at 3 agents, and the returned secret chain authenticates later writes. That is exactly the kind of operational context annotations cannot carry.

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?

Well front-loaded: the free-workspace purpose and the 'call this first' imperative lead, and the credential chain follows in logical order. The closing paragraph on the paid x402/Pro path is tangential to invoking this tool and is the one part that does not clearly earn its space.

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 zero-argument, unauthenticated bootstrap tool with an output schema present, the description covers everything an agent needs: prerequisites (none), the credential lifecycle, tier limits, rate limiting, and which tool to call next. Nothing required to call it correctly is missing.

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?

The schema has zero parameters (baseline 4), and the description reinforces this deliberately ('Takes NO arguments on purpose: the goal is zero friction'), which is helpful rather than redundant. There is no parameter syntax left to document, though the description adds nothing about the shape of the returned credential beyond what the schema/output schema covers.

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 concrete verb+resource ('Get a FREE AgentLedger workspace') and immediately scopes it as a zero-argument bootstrap operation analogous to POST /start. It also explicitly contrasts itself with the sibling tools (ledger_track, ledger_set_budget, ledger_report, ledger_alerts) that require credentials, so an agent can differentiate it 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 selection rule: 'Call this FIRST if you have no credentials yet,' and explains why the alternatives are unavailable in that state. It further describes the exact hand-off sequence (workspace_key → first ledger_track for a NEW agent_id → agent_secret), leaving nothing to inference.

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.