Skip to main content
Glama

Custom Fields List Owners

tiendanube_custom_fields_list_owners
Read-onlyIdempotent

Lists entity instances that have a value for a specified custom field, showing which categories, products, variants, customers, or orders are tagged.

Instructions

List entity instances that have a value for a custom field. HTTP: GET /{entity}/custom-fields/{custom_field_id}/owners Required scope: read_products/write_products (categories, products, products/variants) | read_customers/write_customers (customers) | read_orders/write_orders (orders) API version: 2025-03 Returns {count, page, per_page, total?, has_more, next_page?, items[]}.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1). Orders: page * per_page must be <= 10000
entityYesEntity whose custom fields are managed (categories | customers | orders | products | products/variants)
fieldsNoComma-separated list of fields to return, to reduce payload size (e.g. 'id,name,variants')
per_pageNoItems per page (default 30, max 200; max 50 for external invoices)
custom_field_idYesCustom field ID
response_formatNoOutput format: 'json' (default, full data) or 'markdown' (human-readable)json

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower. The description adds genuinely useful behavior context: the per-entity OAuth scope required (read_products for categories/products/products-variants, read_customers, read_orders) and the pinned API version 2025-03, which tells the agent an authorization failure is likely if the wrong scope is missing.

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 route, then scope, then response envelope. Nothing is repeated from the schema, though the raw HTTP path is somewhat incidental for an agent that already has the tool bound.

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 six parameters, no output schema and no nested objects, the description does the needed work by disclosing the return envelope {count, page, per_page, has_more, next_page, items[]} and the scope prerequisites. It stops short of saying what an 'owner' item actually contains, but the pagination and auth picture is complete enough to call it correctly.

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 the schema already documents entity, custom_field_id, page, per_page, fields and response_format. The description adds only the entity-to-scope mapping, not format, allowed values or interpretation of the ID types, so baseline 3 applies.

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?

States a specific verb and resource -- list the entity instances that hold a value for a given custom field -- and backs it with the concrete HTTP route GET /{entity}/custom-fields/{custom_field_id}/owners. It is distinguishable from custom_fields_list (lists the field definitions) and custom_fields_set_values, though the description never explicitly contrasts them.

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?

Usage is only implied: an agent can infer it should call this when it needs to know which products/customers/orders actually carry a value for a field. There is no explicit when-to-use or when-not, and no sibling alternatives are named (e.g. custom_fields_get_by_entity_id for the reverse lookup).

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