Skip to main content
Glama

search_target_categories

Read-only

Search a feed's target taxonomy tree (marketplace categories) by a substring of the category path. Address the taxonomy by feed_id (its taxonomy is used) OR explicitly by taxonomy_code (+ optional taxonomy_locale). Returns {categories:[{hash, name, path}], returned, total, taxonomyCode, taxonomyLocale}; pass a returned hash as target_hash to set_category_mapping. query matches the full path (e.g. 'laptop', 'shoes'); limit bounds the results (default 50). project_id is OPTIONAL (inferred for a single-project customer).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax categories to return (default 50).
queryYes
feed_idNo
project_idNo
taxonomy_codeNoTarget taxonomy id (e.g. 'google'); alternative to feed_id for addressing the taxonomy.
taxonomy_localeNoLocale of the taxonomy tree, e.g. 'en_GB' — defaults to the taxonomy's own default when omitted.

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the `readOnlyHint` annotation, the description discloses substring matching on the full path, default `limit` of 50, the exact return shape (`categories` with `hash`, `name`, `path`, plus `returned`, `total`, `taxonomyCode`, `taxonomyLocale`), and optional `project_id` inference. This provides substantial behavioral context that the annotations do not cover.

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

Conciseness5/5

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

Four dense, front-loaded sentences cover purpose, addressing modes, return format, parameter behavior, and downstream usage. There is no filler or redundant restatement of the annotations.

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?

The description is complete enough to invoke correctly: it gives return fields, parameter semantics, and the link to `set_category_mapping`. Minor gaps include not stating what happens when neither `feed_id` nor `taxonomy_code` is provided, and not explaining `returned`/`total` semantics beyond their existence.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite only 50% schema description coverage, the description compensates strongly: `query` matches the full path with examples, `feed_id` selects the taxonomy, `taxonomy_code` is an alternative, `taxonomy_locale` has a default behavior, `limit` bounds results, and `project_id` is optional with inference rules. Every parameter gains practical meaning beyond its bare type.

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 ('Search') and resource ('feed's target taxonomy tree'), with the matching mode ('substring of the category path'). It also distinguishes itself from related tools by noting that the returned `hash` feeds into `set_category_mapping`. The purpose is unambiguous and not a tautology.

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?

Explains the two addressing modes—`feed_id` vs `taxonomy_code`—and notes `project_id` is optional and inferred for single-project customers. It also clarifies the downstream use case by telling the caller to pass a returned `hash` to `set_category_mapping`. It does not explicitly list exclusions or alternatives, but the usage context is clear.

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.

TDQS

A4.2/5.0
Disambiguation4/5

Tools are organized around distinct resources (ads, marketplaces, feeds, orders, rules, sources) with clear action verbs, and descriptions explicitly disambiguate near-pairs like get_feed_status vs ad_status or set_feed_filter vs set_feed_attribute_filter. A few similarly named status/action pairs (e.g. ad_status vs get_ad, run_ad_item_action vs run_ad_operation) require careful reading, but overall the purposes are separable.

Naming Consistency4/5

The overwhelming majority follow a consistent verb_noun snake_case pattern (list_*, get_*, create_*, set_*, run_*, test_*). Minor deviations like ad_status and marketplace_status (noun-based status tools) and koongo_knowledge break the pattern slightly, but the convention is clearly recognizable and predictable.

Tool Count1/5

At 105 tools, the surface is extreme and far beyond the 50+ threshold, even for a complex e-commerce integration domain. Much of the bloat comes from systematic triplication across ads, marketplaces, and feeds (e.g. three nearly identical map_*_attribute tools, three list_*_items, three get_*_report) that a generic resource parameter could have consolidated.

Completeness4/5

The toolset covers the full lifecycle of feeds, ads, marketplaces, order connections, rules, and imports, including create/read/update/delete, status monitoring, item-level actions, validation, repair, and restore. Minor gaps exist, such as no delete for standalone order connections and limited update capabilities for some entities, but these are workable and do not create dead ends for the core workflows.

Resources