Skip to main content
Glama

Search Fragrances by Name

search_fragrances
Read-onlyIdempotent

Resolve a perfume or fragrance name to catalogue entries. Call this FIRST whenever a name is partial, misspelled, or could mean more than one product, then pass the returned slug to another tool. Many fragrances share a name across concentrations and launch years, and flankers hide behind qualifiers, so guessing the variant silently produces the wrong answer for the rest of the conversation. Results carry concentration and launch year precisely so you can tell them apart, and you should offer the user the choice when several match. Use get_fragrance instead when you already hold an exact slug.

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": {
      "query": "<query>"
    },
    "name": "search_fragrances"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results. Default 8, maximum 20.
queryYesName or partial name to look up. Minimum 2 characters.
marketNoThe country whose searches rank the list, as an ISO 3166-1 alpha-2 code, for example US, DE or GB: the fragrances people there look for most come first. It is separate from country, which sets prices. Default GB. A code we hold no search data for, or one that is not two letters, gives the GB order.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / market
      Added value: +{
      +  "default": null,
      +  "description": "The country whose searches rank the list, as an ISO 3166-1 alpha-2 code, for example US, DE or GB: the fragrances people there look for most come first. It is separate from country, which sets prices. Default GB. A code we hold no search data for, or one that is not two letters, gives the GB order.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: why guessing a variant silently corrupts the rest of the conversation, that results carry concentration and launch year for disambiguation, and that multiple matches should be offered to the user. It does not mention result ordering or the effect of the market parameter, which the schema carries instead.

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?

Purpose is front-loaded, followed by the call-first trigger, the rationale, and the sibling alternative in a logical chain with no filler. It is dense but every sentence carries a decision-relevant fact; only slight tightening would gain a fifth point.

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

Completeness5/5

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

With rich annotations, a fully documented 3-parameter schema, and an output schema, the description covers everything an agent needs: purpose, ordering of calls, disambiguation strategy, and the sibling handoff. Remaining details (return shape, ranking rules) live in the structured fields where they belong.

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%, including limit, query length minimum, and the market/ranking semantics, so the schema does the heavy lifting. The description adds no parameter-level detail beyond the note that results include concentration and launch year, which is output rather than input semantics; baseline 3 applies.

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 and resource ('Resolve a perfume or fragrance name to catalogue entries') and explicitly distinguishes itself from get_fragrance. An agent can tell it apart from compare_fragrances or find_similar_fragrances 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 Guidelines5/5

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

Gives an explicit trigger ('Call this FIRST whenever a name is partial, misspelled, or could mean more than one product'), states what to do with the output (pass the slug to another tool), and names the alternative with its selecting condition ('Use get_fragrance instead when you already hold an exact slug').

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