Skip to main content
Glama

Find categories by name

categories_search
Read-onlyIdempotent

[Catalog] Finds marketplace categories by name (eMAG): id, name and whether this account may list there. Call categories_get with the id for the attributes it requires. Works on: Demo shop (sample data).

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
accountNoAccount id from list_accounts. Optional when only one account is connected.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a read-only, idempotent, non-destructive, closed-world lookup, so the safety bar is low. The description adds genuinely useful operational context beyond annotations: the fields returned (id, name, listing eligibility) and the critical scope constraint that it only works on the Demo shop (sample data).

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?

Three tight sentences with the catalog tag and purpose front-loaded, followed by the next-step and the environment scope. Every sentence carries information; no filler.

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

Completeness3/5

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

An output schema exists, so return values needn't be re-explained, and the description covers purpose, workflow, and environment scope. However, with two of three parameters undocumented in both schema and description, the definition is not fully complete for correct invocation.

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

Parameters2/5

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

Schema description coverage is only 33% – 'account' is documented in the schema but 'query' and 'limit' are not. The description mentions searching 'by name' (implying query semantics) but adds nothing about the match behavior, result count, or the limit/account parameters, so it fails to compensate for the coverage gap.

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?

Specific verb+resource ('Finds marketplace categories by name') with a clear scope (eMAG catalog), and it distinguishes itself from the sibling categories_get by naming it and the reason to use it ('the attributes it requires'). An agent can tell search-by-name apart from get-by-id without opening either schema.

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?

It explicitly routes the agent to the follow-up tool ('Call categories_get with the id'), which frames the search-then-get workflow. It does not state exclusions or exactly when to prefer search over other lookups, so it stops short of full when/when-not guidance.

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.

Resources