Skip to main content
Glama

Open an account

commercebook_account_start

Open an account for the owner when the owner asks for one. Action signup sends the owner one email with an 8-digit code, and action confirm with that code answers the key once. The key starts read-only, and payments stay off until the owner turns them on. Actions (the activity each needs):

  • signup (no key): ask to open an account (kind warehouse, seller or buyer); the owner gets a code by email. It answers the signup id, the email, the time the code expires (30 minutes later) and the next step.

  • confirm (no key): the email and the 8-digit code; answers the key once. Send action and its arguments. With a key, or with ?role=buyer, seller, warehouse or all, the server also lists the separate tools that list, order, pay and ship.

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": {
      "action": "<action>"
    },
    "name": "commercebook_account_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoFor signup. A warehouse: the city of its first facility.
codeNoFor confirm. The 8-digit code from the email the owner received.
kindNoFor signup. The kind of account: warehouse, seller, or buyer (a Shop account that buys on the market).
sqftNoFor signup. A warehouse: its floor space, in square feet.
emailNoFor every action. The owner’s email; the code goes there.
stateNoFor signup. A warehouse: the two-letter state of its first facility.
actionYesThe action to run.
addressNoFor signup. A warehouse: the street address of its first facility.
companyNoFor signup. The business name. Required for a warehouse or a seller; optional for a buyer.
servicesNoFor signup. A warehouse: the services it offers, one short phrase each (for example pick and pack).
contact_nameNoFor signup. The owner’s name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / city / description
      Previous value: -"For signup."New value: +"For signup. A warehouse: the city of its first facility."
    • changedInput schema / properties / code / description
      Previous value: -"For confirm."New value: +"For confirm. The 8-digit code from the email the owner received."
    • changedInput schema / properties / kind / description
      Previous value: -"For signup."New value: +"For signup. The kind of account: warehouse, seller, or buyer (a Shop account that buys on the market)."
    • changedInput schema / properties / services / description
      Previous value: -"For signup."New value: +"For signup. A warehouse: the services it offers, one short phrase each (for example pick and pack)."
    • changedInput schema / properties / sqft / description
      Previous value: -"For signup."New value: +"For signup. A warehouse: its floor space, in square feet."
    • changedInput schema / properties / state / description
      Previous value: -"For signup."New value: +"For signup. A warehouse: the two-letter state of its first facility."
  2. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the agent already knows this is a non-destructive, non-idempotent, open-world mutation. The description adds genuinely useful context beyond that, namely that the new key starts read-only, that payments remain off until the owner enables them, and that the code expires after 30 minutes and is consumed once. It does not cover failure modes, such as what happens if the email is already registered or the code has expired.

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?

The opening sentence comes first and states the purpose, followed by a bulleted list that maps each action to its required arguments. Some points are repeated, such as the '8-digit code' and 'answers the key once', which appear in both the introduction and the bullets. Even so, each element is short and useful, so it remains easy to scan.

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?

For an 11-parameter tool with no output schema, the definition covers which action needs which parameters and briefly describes what each action returns (the signup id, email, expiry and next step; the key on confirm). The main remaining gap is error and edge-case behavior, such as duplicate emails, expired codes, or what happens when confirm is retried.

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?

With schema coverage at 100%, the baseline would be 3, because the schema already documents all 11 parameters and their per-action applicability. The description still contributes meaning beyond the schema, explaining the order of the signup and confirm steps and that `code` is single-use. It does not add such format details as the code pattern or email constraints beyond what the schema already states.

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?

Names a specific verb and resource ('Open an account') and scopes it to the owner requesting one. It also narrates the two-step signup/confirm flow, which tells an agent precisely what the tool does, though it never contrasts itself with the sibling commercebook_start_read, which sounds closely related.

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

Usage Guidelines4/5

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

Gives a clear trigger condition ('when the owner asks for one') and explains the sequence that selects each action: signup first, then confirm with the emailed code. It also notes that supplying a key or a role parameter makes the server list the other commerce tools, but it does not state when this tool should be avoided in favor of a sibling.

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.