Skip to main content
Glama

Octobooks

Shops and payment accounts, run now

shops
Destructive

Shopify and Amazon, run on request. action=status: the connected Shopify stores and Amazon seller accounts, when each last ran and what came in, and Amazon's own sales figures of today per seller account (read). action=book_day with connection_id and day (YYYY-MM-DD): that day's Shopify orders proposed as one entry (once per shop and day; a repeat gives the same proposal). action=payouts with connection_id: Shopify Payments payouts and their transactions fetched now. action=products with connection_id: the store's products taken into Octobooks' products. action=amazon_pull with connection_id: new Amazon settlements fetched now and put forward once each, file kept. action=fba_count with connection_id and marketplace (GB, DE, FR, ...): Amazon's FBA Manage Inventory report taken as the count of the company's FBA warehouse; the difference is a count move there, SKUs that are no product are listed. action=locations with connection_id and mapping {Shopify location: warehouse} (Main warehouse for the company's own): Shopify's on hand per location taken as the count of each mapped warehouse; a store with one location counts it as the Main warehouse; unmapped locations are named and not counted. action=paddle_day with day: a company that sells through Paddle has that day's completed Paddle sales proposed as one entry, a sale to each Paddle company at what Paddle pays out (once a day). action=paddle_refunds: every approved Paddle refund or chargeback not yet in the books proposed as one entry. The daily jobs do the same at 06:20 (Shopify orders) and 06:30 (Amazon); this is for now. Stripe and PayPal: action=pay_payouts lists payouts taken apart into sales, refunds and fees with their bank line; action=pay_pull reads the connected accounts; action=pay_file with provider (stripe or paypal), label and content_base64 reads the provider's report for an account of that name; provider daily with label (the till's name) and a CSV of Date and Gross proposes each day's gross takings as sales at the standard rate (a retailer's daily takings, Notice 733 section 10); action=pay_propose with payout_id proposes one payout on its bank line, its fees under the exempt purchase code (UK_IN_EXEMPT, box 7; DE_IN_0, AT_IN_0) or the fee_tax_code given; action=pay_settle proposes everything ready, Amazon payouts included; action=pay_sales with connection_id and per_order (true: the account's payments are sales, false: they settle invoices). action=order_mode with connection_id and per_order (true: each order its own sales document, lines by VAT rate, shipping and the discount apart; false: one entry per day, the default). action=hospitality_mode with connection_id and hospitality (true: a restaurant, café or hotel store's day goes through the hospitality VAT split by category, food, drinks, rooms, service charge, tips; false: Shopify's tax lines). action=orders_from with connection_id and day: Book orders from, the day the store's orders start in the books (default the day it was connected; the daily job catches up missed days of the last week from that day on); every day since not yet proposed is proposed at once; without day the answer is that day. Everything proposed is booked on release by whoever this company lets release. Round 891: action=connect with provider (stripe, paypal, square, sumup, paddle, staffology or peppol) and key (the key the owner handed over: Stripe restricted key rk_live_, PayPal client_id:secret, Square EAAA token, SumUp merchant:key, Paddle API key, Staffology API key, the Peppol access point's API key) connects that account under the owner's switch ai_sets_provider_keys (Automatic posting, on until the owner switches it off); label names a payment account, fields {env: live or sandbox} for Paddle, {employer} for Staffology, {ap_company, participant, secret, test_network} for Peppol (test_network is needed unless a Peppol connection is live). The key is sealed at once and is in no answer. A connect where none of that kind is live stands on Home with Undo for 7 days; where a connection of that kind is live, connect is an ask on Home naming the account it replaces, confirmed by the owner. action=disconnect with provider (shopify, amazon, stripe, paypal, square, sumup, paddle) and connection_id (where more than one is live) disconnects it as Settings, Apps does, under the owner's setting for settings changes by the AI: set to apply at once it ends now, Ask me (default) it waits for the owner's one tap; what it read stays. Needs the right propose for every action but status and order. Round 913: action=order with key (the order's name, #1001) or fields {document_id}: an order the books keep (booked one per order) with its lines, shipping, VAT, total and refunds, and order_pdf, the page that downloads it as a PDF order confirmation. Round 1082: action=unleashed_read: the connected Unleashed account read (GET only) and its sales invoices, credit notes, supplier bills and stock journals proposed once each, a changed document reversed and booked again; status names the account with the stock account against Unleashed's stock on hand. The owner connects Unleashed on Shops and payouts. Round 1236, Account mapping (Channels): action=mapping with provider (amazon, the default, or shopify) reads every transaction type with its group, account, VAT treatment, source (A2X, History, Default, Set) and the VAT variance to Amazon's invoices; action=mapping_set with fields {kind: group, type or sales, key, account, vat} sets one row (vat: a VAT code of the books, none, auto, or empty for the group's); action=mapping_import with content_base64 (A2X's mapping export, CSV or Excel) proposes its accounts; action=mapping_approve takes every proposal over. The three that write need the right propose.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "shops"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNo
keyNo
labelNo
actionNostatus
fieldsNo
companyNo
mappingNo
providerNo
payout_idNo
per_orderNo
hospitalityNo
marketplaceNoGB
fee_tax_codeNo
connection_idNo
content_base64No

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond annotations, the description discloses key behavior such as idempotent proposal behavior ('a repeat gives the same proposal'), daily job timing, proposal/release requirements, key sealing and non-return of secrets, Undo for 7 days on connect, disconnect confirmation settings, and data retention ('what it read stays'). These are substantial operational traits for a destructive, open-world tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a very long semicolon-chained paragraph mixing many actions, modes, and internal round references ('Round 891', 'Round 913', etc.). While much content is necessary for a multi-action tool, the internal version labels and dense formatting reduce readability and front-loaded clarity.

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?

Given the complexity, annotations, and output schema, the description is unusually complete: it covers most actions, defaults, permissions, connect/disconnect side effects, and proposal behavior. Gaps remain around the unexplained company parameter and the ambiguous 'provider daily' action phrasing.

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 0% schema description coverage and 15 parameters, the description carries most of the semantic burden and explains action-specific parameters such as connection_id, day format, marketplace values, mapping structures, fields objects, provider values, per_order, hospitality, payout_id, fee_tax_code, and content_base64. It does not explain the company parameter, and some parameter meanings remain action-scoped or implicit.

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 opens with 'Shopify and Amazon, run on request' and enumerates concrete actions such as status, book_day, payouts, connect, disconnect, and mapping. It clearly identifies the domain and operations, though the dense enumeration does not sharply differentiate this tool from many sibling tools like accounts or settle beyond the note that daily jobs handle the scheduled equivalents.

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?

It provides per-action context, defaults, required rights, and one explicit alternative: 'The daily jobs do the same at 06:20 ... this is for now.' However, it does not give explicit when-not-to-use guidance or name sibling alternatives for most actions, so selection depends on reading the full action list.

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