Skip to main content
Glama

Price Tables Customers Add

tiendanube_price_tables_customers_add

Assign customers to a price table. Body shape per the API reference. HTTP: POST /products/price-tables/{table_id}/customers Required scope: write_products API version: 2025-03

Instructions

Assign customers to a price table. Body shape per the API reference. HTTP: POST /products/price-tables/{table_id}/customers Required scope: write_products API version: 2025-03

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": {
      "table_id": "<table_id>",
      "payload": "<payload>"
    },
    "name": "tiendanube_price_tables_customers_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYesRequest body (object or array)
table_idYesPrice table ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-readonly, non-idempotent, non-destructive write to an open world. The description adds two useful non-schema facts — the required write_products scope and API version 2025-03 — but says nothing about behavior on duplicate assignment (which the non-idempotent hint makes relevant) or error cases.

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?

Four short front-loaded lines: purpose first, then body note, endpoint, scope and version. Minimal waste, though the 'Body shape per the API reference' line is a pointer rather than information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation whose entire semantic content lives in an untyped 'payload' object or array, deferring to an external API reference leaves the agent unable to construct a valid body from the definition alone. With no output schema, the description also gives no signal about what a successful assignment returns.

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 both parameters are documented at a baseline level. The description adds nothing about payload contents beyond deflecting to 'the API reference', so it neither compensates for nor worsens the generic 'object or array' payload schema.

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 states a specific verb and resource ('Assign customers to a price table') and the concrete endpoint POST /products/price-tables/{table_id}/customers, so the agent can tell it apart from price_tables_categories_add or price_tables_variants_add. It stops short of explicitly contrasting with the sibling it mirrors, customers_remove.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus customers_list, customers_remove, or the categories/variants add tools. The only conditional information is the required write scope, which is a prerequisite rather than usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools