Skip to main content
Glama

Build account deposit rules manifest

build_deposit_rules_manifest
Read-only

Builds one transaction that changes who may deposit into an account, starting from what the ledger has now and writing only what changes: the default rule, resources always allowed or always refused, exceptions removed, and authorised depositor badges added or removed. The account itself signs. Refusing deposits does not lose airdrops: a locker keeps what an account refuses until it is claimed.

Input Schema

NameRequiredDescriptionDefault
allowNoResources always allowed, whatever the default rule
localeYesLanguage of the console links: "en" or "es"en
refuseNoResources always refused, whatever the default rule
accountYesAccount whose rules change; it signs the transaction
networkYesRadix network: "mainnet" (production) or "stokenet" (testnet)mainnet
defaultRuleNoNew default rule: "Accept", "AllowExisting" or "Reject"
addDepositorsNoBadges to authorise: "resource_…", or "resource_…:#id#" for one NFT
removeDepositorsNoAuthorised badges to remove, written the same way
removeExceptionsNoResources whose exception is removed (they follow the default rule again)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / addDepositors / items / maxLength
      Added value: +200
    • addedInput schema / properties / addDepositors / maxItems
      Added value: +100
    • addedInput schema / properties / allow / items / maxLength
      Added value: +200
    • addedInput schema / properties / allow / maxItems
      Added value: +100
    • addedInput schema / properties / refuse / items / maxLength
      Added value: +200
    • addedInput schema / properties / refuse / maxItems
      Added value: +100
    • addedInput schema / properties / removeDepositors / items / maxLength
      Added value: +200
    • addedInput schema / properties / removeDepositors / maxItems
      Added value: +100
    • addedInput schema / properties / removeExceptions / items / maxLength
      Added value: +200
    • addedInput schema / properties / removeExceptions / maxItems
      Added value: +100
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds real substance beyond that: the output is a diff-based transaction built from current ledger state, the account itself signs, and refused deposits are held in a locker until claimed. It never explicitly says the result is an unsigned manifest returned to the caller rather than submitted, which is a meaningful gap for a build_* tool.

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?

Three sentences, front-loaded with the core action and the diff-from-current-state property, with no filler. The airdrop/locker sentence is a useful caveat but is slightly tangential to invoking the tool.

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?

For a 9-parameter build tool with no output schema, the description leaves the agent unclear on what is returned (manifest text? signable payload?) and what the next step is (validate_transaction_manifest, preview_transaction, wallet signing). The conflict/precedence between defaultRule and allow/refuse is also left implicit.

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 schema already documents each field, including the deposit-badge string format and the 'follow the default rule again' semantics of removeExceptions. The description restates these concepts at a higher level (default rule, always-allowed/always-refused resources, added/removed badges) without adding syntax or precedence rules, so baseline 3 applies.

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?

States a specific verb and resource: builds a single transaction that changes who may deposit into an account, and enumerates the kinds of changes it expresses. It does not name the distinguishing sibling (get_deposit_rules, build_manifest_from_template), so the boundary is inferred rather than stated.

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 'changes who may deposit into an account' plus the note that deposits can be refused without losing airdrops, which hints at when refusal is appropriate. There is no explicit when-to-use / when-not-to-use guidance, no mention of reading current rules first via get_deposit_rules, and no pointer to alternatives.

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