Skip to main content
Glama

Brands

dr_brands
Read-onlyIdempotent

Find a brand by Persian or English name to get the ID needed for search and price-comparison tools, or read its profile, product count, and categories.

Instructions

Find a brand by name and get the id that dr_search and dr_cheapest take as brand, or read a brand's profile.

query is a substring of the Persian or English name. id returns the brand's about text, product count and categories (usable as category with this brand).

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

Input Schema

NameRequiredDescriptionDefault
idNoBrand id: return its profile instead of searching.
limitNo1-40.
queryNoName part, Persian or English, e.g. ellaro.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • changedInput schema / properties / id / description
      Previous value: -"A brand id: return that brand's profile instead of a search."New value: +"Brand id: return its profile instead of searching."
    • changedInput schema / properties / limit / description
      Previous value: -"Brands to return, 1-40."New value: +"1-40."
    • changedInput schema / properties / query / description
      Previous value: -"Part of the brand name, Persian or English, e.g. الارو, ellaro."New value: +"Name part, Persian or English, e.g. ellaro."
  2. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish a read-only, idempotent, open-world lookup, so the safety profile is covered without prose. The description goes beyond that by disclosing what `id` returns (about text, product count, categories) and, importantly, that those categories are reusable as `category` alongside this `brand` in other calls — useful chaining context an agent would otherwise have to discover by trial.

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?

Two short paragraphs with the purpose and the sibling integration front-loaded, then the parameter semantics. Every clause carries information (search mode, id mode, returned fields, cross-tool reuse) with no filler or repetition.

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 no output schema, the description usefully enumerates what a profile lookup returns and what a name search is expected to produce (an id for later use), which is the critical missing piece for an agent. It does not explain what the list result looks like for `query` mode or how `limit` interacts with total matches, a minor gap for a 3-parameter tool.

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 `id`, `limit`, and `query` are already documented in the schema with types, bounds, and examples. The description restates that `query` is a Persian/English substring and that `id` yields a profile, which aligns with but adds little beyond the schema text; baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description opens with a concrete verb+resource pair ('Find a brand by name') and immediately clarifies the dual behavior: resolving a name to an id for use with dr_search/dr_cheapest, or reading a profile via `id`. It names the consuming siblings explicitly, so an agent can distinguish this from dr_categories or dr_product without opening any 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 clearly states the downstream use of the returned id (`brand` for dr_search and dr_cheapest) and explains the two invocation modes: search by `query` substring vs. fetch by `id`. There is no explicit when-not-to-use or mention of alternatives such as dr_categories for browsing brands by category, so it stops short of full routing guidance.

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