Skip to main content
Glama

Read what you can do here

commercebook_capabilities
Read-onlyIdempotent

Read with no key what the owner can do here: every seller capability with its tool and action, what a listing in one category needs, and the ways to sell, buy or use the network that fit the owner’s situation. Call it first when you sell, or when the owner asks what CommerceBook can do. It changes nothing. Actions (the activity each needs):

  • seller (no key): every seller capability, grouped (group narrows it); the first call of a seller agent.

  • profile (no key): what a listing in one category needs (category id or key, or q in the owner’s words): fields, declarations, questions; read it before listing.

  • ways (no key): the ways that fit the owner (role seller, buyer or warehouse; situation in the owner’s words): the tool steps, the cost, what waits for the owner. Send action and its arguments. Without action it runs seller. 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

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": "commercebook_capabilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoFor profile. What the owner has, in the owner’s words.
roleNoFor ways. seller, buyer or warehouse; left out, the situation words choose.
groupNoFor seller. One group only; left out, every group.
modelNoFor profile. The model number for the recall search.
actionNoThe action to run (seller when left out).seller
recallNoFor profile. A product name to search the CPSC recalls for.
categoryNoFor profile. A Shopify category id or gid (aa-6-9), or a CommerceBook category key (tape).
situationNoFor ways. What the owner has or needs, in the owner’s words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "seller",
      -  "ways"
      -]New value: +[
      +  "seller",
      +  "profile",
      +  "ways"
      +]
    • addedInput schema / properties / category
      Added value: +{
      +  "description": "For profile. A Shopify category id or gid (aa-6-9), or a CommerceBook category key (tape).",
      +  "maxLength": 120,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / model
      Added value: +{
      +  "description": "For profile. The model number for the recall search.",
      +  "maxLength": 60,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / q
      Added value: +{
      +  "description": "For profile. What the owner has, in the owner’s words.",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / recall
      Added value: +{
      +  "description": "For profile. A product name to search the CPSC recalls for.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "seller"
      -]New value: +[
      +  "seller",
      +  "ways"
      +]
    • addedInput schema / properties / role
      Added value: +{
      +  "description": "For ways. seller, buyer or warehouse; left out, the situation words choose.",
      +  "enum": [
      +    "seller",
      +    "buyer",
      +    "warehouse"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / situation
      Added value: +{
      +  "description": "For ways. What the owner has or needs, in the owner’s words.",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / group / enum
      Previous value: -[
      -  "ways_to_offer",
      -  "ways_to_be_found",
      -  "ways_to_be_paid",
      -  "what_the_record_shows",
      -  "rules",
      -  "first_steps"
      -]New value: +[
      +  "ways_to_offer",
      +  "ways_to_be_found",
      +  "ways_to_be_paid",
      +  "what_the_record_shows",
      +  "your_own_system",
      +  "rules",
      +  "first_steps"
      +]
  4. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety bar is low; the description still adds real context by noting no key is required and that supplying a key or ?role=... also surfaces the separate list/order/pay/ship tools. It also sketches what each action returns (fields, declarations, questions; tool steps, cost, owner approvals). It does not cover output volume or pagination for what is clearly a multi-section read.

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 summary sentence is front-loaded and each action gets a compact bullet with its purpose and trigger. Some phrasing is needlessly indirect ('what a listing in one category needs', 'It changes nothing') and partially restates annotation semantics, but there is no filler paragraph.

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 8-parameter, three-mode, no-output-schema tool, the description covers each mode's input expectations and the conditional key/role behavior well. The gaps are the recall/model path and any sense of response size, both of which the agent would have to discover by calling.

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 coverage is 100%, so the baseline is 3. The description does add usage flavor (q and situation 'in the owner's words', group 'narrows it', role determines what is listed), but it never mentions the model or recall parameters that exist in the schema, so it does not fully compensate for the one real gap.

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 opening sentence states a specific verb (read) and resource (owner's capabilities, listing needs, selling ways) and enumerates the three sub-actions with their outputs. It does not distinguish itself from plausible siblings such as commercebook_start_read or commercebook_tool_search, leaving the agent to infer which entry point to pick.

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?

Explicit triggers are given: 'Call it first when you sell', 'when the owner asks what CommerceBook can do', and per-action guidance like 'read it before listing'. No when-not guidance or named alternatives are provided, so an agent cannot rule out a sibling on the basis of this text alone.

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.