Skip to main content
Glama

WhichAgent Beauty

Compare Barbershops

compare
Read-only

Returns a normalized, source-linked comparison of selected Orange County, CA barbershops. Use when: the user wants to compare two or more search results on city, published services, availability class, or published handoff capabilities. Do not use when: the user needs beauty categories beyond barbershops, results outside Orange County, guaranteed real-time slots or prices, payment, or a completed booking.

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

Input Schema

NameRequiredDescriptionDefault
criteriaNoOptional array or comma-separated list of comparison fields: city, services, availability_class, capabilities.
business_idsNoRequired array or comma-separated list of at least two stable business IDs returned by search.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds genuinely new context by warning that slots and prices are not guaranteed real-time. It also signals that output is 'normalized' and 'source-linked', suggesting provenance metadata in results. It stops short of stating failure behavior for invalid or duplicate business IDs, or any cap on how many businesses can be compared at once.

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 sentences, front-loaded with the what before the when, and structured as parallel 'Use when' / 'Do not use when' clauses. Every phrase carries selection-relevant information and nothing is padded.

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 two-parameter, read-only, non-destructive tool with no output schema and full schema description coverage, the description supplies everything needed: what it returns, the field set being compared, the input provenance requirement, and the explicit exclusions. Nothing an agent needs in order to decide or invoke is missing.

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%, so the baseline is 3; the description's mention of the same comparison fields and the 'at least two stable business IDs returned by search' constraint restates what the schema already documents rather than adding format or edge-case detail. One useful nuance is implied — that the IDs must originate from a prior search — but it is already present in the schema text.

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 ('Returns a normalized, source-linked comparison') plus a precise scope ('selected Orange County, CA barbershops'). The dual use-when/do-not-use framing implicitly separates it from 'search' (which produces the results this consumes) and 'book' (which the exclusions rule out), so an agent can route between siblings without opening their schemas.

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?

Provides an explicit 'Use when' clause with the exact comparison dimensions (city, services, availability class, handoff capabilities) and a 'Do not use when' clause enumerating the four out-of-scope cases: other beauty categories, other geographies, real-time slots/prices, payment, and booking. Both the positive and negative selection conditions are stated, leaving little to inference.

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