Skip to main content
Glama

get_user_region

Fetch the user's marketplace region from their profile.

Call this before questioning. The marketplace region is the user's OWN country (where they buy) — taken from the server and NOT user-controllable. It determines the currency and scopes every offer search.

Returns the region name, currency, and the price-tier thresholds (t1/t2/max) to use for cheap/mid/premium in search_offers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.8/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses that the region is server-provided and NOT user-controllable, which is a meaningful trust/scoping constraint, and implies a read-only fetch. It does not cover error or authentication behavior, but for a zero-parameter read call that is a minor gap.

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?

The description is five short sentences, each earning its place: the fetch action, the when-to-call directive, the source/control constraint, the downstream effect, and the return value semantics. It is front-loaded with the essential directive and contains no filler.

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?

For a parameterless tool with an output schema, the description is complete. It explains what is returned (region name, currency, price-tier thresholds), why it matters, and how the output should be used with search_offers. Nothing needed to invoke or apply this tool correctly is missing.

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?

The tool has no parameters, so there is no schema detail to compensate for. The description adds context by explaining the data source ('from their profile', 'taken from the server'), which reinforces why no user input is needed and clarifies the source of truth.

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 uses a specific verb and resource ('Fetch the user's marketplace region from their profile') and clearly states the tool's role in the workflow. It differentiates itself from the sibling search tools by establishing itself as a prerequisite that scopes offer searches.

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?

It gives explicit sequencing guidance: 'Call this before questioning' and explains that the result 'determines the currency and scopes every offer search.' This tells the agent exactly when to invoke it relative to search_offers, and no competing sibling serves this purpose.

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.9/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: get_user_region supplies marketplace configuration, search_shops finds retailers by name, and search_offers returns actual product listings. The descriptions also explicitly define when each tool should and should not be used, leaving no ambiguity.

Naming Consistency5/5

All tool names follow a consistent lowercase snake_case verb_noun pattern: get_user_region, search_offers, search_shops. The verbs are simple and accurately reflect the action, making the set predictable and easy to navigate.

Tool Count5/5

Three tools is a well-scoped size for a focused wine-search assistant: one to fetch required user context, one optional helper for shop filtering, and one terminal search action. Each tool exists to support a distinct step in the flow with no redundant additions.

Completeness5/5

The tool surface fully covers the described sommelier flow: obtain region constraints, optionally resolve named shops, then search offers. There are no dead ends—search_offers terminates with purchasable results, and the supporting tools address all necessary preconditions.

Resources