Skip to main content
Glama

List sub-merchants

list_sub_merchants
Read-onlyIdempotent

[Admin] List the sub-merchants (child companies) under a merchant account, with their details. The accounts the user can act as are listed by jobmojito_configuration and list_my_merchants.

Every argument in full, with examples: get_tool_reference.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of records to return (1–1000).
offsetNoNumber of records to skip from the start of the result set.
order_byNoSort order of the result set.created_at_newest
llm_modelNoYour model id, e.g. "claude-opus-4-8"; "unknown" if unsure. For analytics.
filter_textNoCase-insensitive search on the sub-merchant name.
merchant_idNoOptional merchant to scope to. Admins and sub-merchant operators only; other callers always use their token's merchant.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Output Schema

NameRequiredDescriptionDefault
dataYes
paginationYes
_mcp_instructionsNoServer-issued metadata for this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed39 schema fields changed
    • removedInput schema / properties / limit / example
      Removed value: -50
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "Your model id, e.g. \"claude-opus-4-8\"; \"unknown\" if unsure. For analytics.",
      +  "type": "string"
      +}
    • removedInput schema / properties / merchant_id / example
      Removed value: -"28106cba-1c27-4e53-b149-32113e5e8e31"
    • removedInput schema / properties / offset / example
      Removed value: -0
    • removedInput schema / properties / order_by / example
      Removed value: -"created_at_newest"
    • removedOutput schema / properties / data / description
      Removed value: -"The sub-merchants the caller administers for this page."
    • removedOutput schema / properties / data / items / properties / admin_profiles / description
      Removed value: -"Admin profiles linked to this sub-merchant (jsonb)."
    • removedOutput schema / properties / data / items / properties / billing_country / description
      Removed value: -"Billing country."
    • removedOutput schema / properties / data / items / properties / business_type / description
      Removed value: -"Business type."
    • removedOutput schema / properties / data / items / properties / consumer_webanalytics / description
      Removed value: -"Consumer web-analytics id."
    • removedOutput schema / properties / data / items / properties / contact_email / description
      Removed value: -"Primary contact email."
    • removedOutput schema / properties / data / items / properties / contact_person / description
      Removed value: -"Primary contact name."
    • removedOutput schema / properties / data / items / properties / created_at / description
      Removed value: -"Creation timestamp (ISO 8601)."
    • removedOutput schema / properties / data / items / properties / credits_used_30d / description
      Removed value: -"Credits used in the last 30 days."
    • removedOutput schema / properties / data / items / properties / credits_used_total / description
      Removed value: -"Total credits used."
    • removedOutput schema / properties / data / items / properties / frontend_domain / description
      Removed value: -"Consumer frontend domain."
    • removedOutput schema / properties / data / items / properties / id / description
      Removed value: -"Sub-merchant id."
    • removedOutput schema / properties / data / items / properties / image_logo_url / description
      Removed value: -"Logo image URL."
    • removedOutput schema / properties / data / items / properties / info_notes / description
      Removed value: -"Internal notes."
    • removedOutput schema / properties / data / items / properties / interview_count / description
      Removed value: -"Total interviews run."
    • removedOutput schema / properties / data / items / properties / interview_frontend_domain / description
      Removed value: -"Interview frontend domain."
    • removedOutput schema / properties / data / items / properties / interview_latest / description
      Removed value: -"Most recent interview timestamp (ISO 8601)."
    • removedOutput schema / properties / data / items / properties / interview_subscription_status / description
      Removed value: -"Interview subscription status."
    • removedOutput schema / properties / data / items / properties / interview_subscription_type / description
      Removed value: -"Interview subscription type."
    • removedOutput schema / properties / data / items / properties / interview_webanalytics / description
      Removed value: -"Interview web-analytics id."
    • removedOutput schema / properties / data / items / properties / merchant_features / description
      Removed value: -"Enabled feature flags (jsonb)."
    • removedOutput schema / properties / data / items / properties / name / description
      Removed value: -"Sub-merchant name."
    • removedOutput schema / properties / data / items / properties / register_domain / description
      Removed value: -"Registration domain."
    • removedOutput schema / properties / data / items / properties / status / description
      Removed value: -"Status."
    • removedOutput schema / properties / data / items / properties / stripe_interview_subscription_start / description
      Removed value: -"Subscription start (ISO 8601)."
    • removedOutput schema / properties / data / items / properties / users / description
      Removed value: -"Users linked to this sub-merchant (jsonb)."
    • removedOutput schema / properties / pagination / properties / has_more / description
      Removed value: -"True when more records exist beyond this page (offset + returned < total)."
    • removedOutput schema / properties / pagination / properties / has_more / example
      Removed value: -true
    • removedOutput schema / properties / pagination / properties / limit / description
      Removed value: -"Page size used for this response."
    • removedOutput schema / properties / pagination / properties / limit / example
      Removed value: -50
    • removedOutput schema / properties / pagination / properties / offset / description
      Removed value: -"Offset used for this response."
    • removedOutput schema / properties / pagination / properties / offset / example
      Removed value: -0
    • removedOutput schema / properties / pagination / properties / total / description
      Removed value: -"Total matching records across all pages."
    • removedOutput schema / properties / pagination / properties / total / example
      Removed value: -137
  2. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
  3. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Echo the conversation_id from the server's previous response. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it."New value: +"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."
  4. Changed2 schema fields changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "Echo the conversation_id from the server's previous response. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / _mcp_instructions
      Added value: +{
      +  "description": "Server-issued metadata for this conversation.",
      +  "properties": {
      +    "conversation_id": {
      +      "description": "The server-issued conversation identifier.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  5. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context about the admin-only scope and that results carry full details, but says nothing about pagination or result-set size behavior beyond what the schema documents.

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 purpose sentence is front-loaded and wastes no words. The trailing reference sentence is mildly tangential but short and does route agents to fuller argument documentation.

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?

With an output schema present, rich annotations, and full schema coverage on 7 parameters, the definition supplies what remains: admin gating, what the listing contains, and where act-as accounts come from. The only gap is explicit guidance on choosing this over sibling listing/search tools.

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%, so every parameter including merchant_id and filter_text is already documented in the schema; baseline 3 applies. The description adds no meaning beyond the schema and instead defers argument detail to get_tool_reference, which is a pointer rather than added semantics.

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 specific verb and resource ("List the sub-merchants (child companies) under a merchant account") plus the scope gate "[Admin]" and the return shape ("with their details"). It also points to list_my_merchants for the caller's own accounts, so an agent can tell the two apart without opening a schema.

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?

The "[Admin]" prefix and the note that act-as accounts come from jobmojito_configuration / list_my_merchants give implied context for who should call this. There is no explicit when-to-use versus when-not-to-use statement, and no mention of the sibling search_merchants as an alternative for lookup-style queries.

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.