Skip to main content
Glama

Resolve a resort name to its slug

resolve_resort
Read-onlyIdempotent

Turn a loosely-written resort name into its canonical slug and a confidence score. Handles the real-world drift between how a resort is written and how it is stored — "Soneva Fushi" vs "SonevaFushi", "ONE&ONLY" vs "One & Only", missing or extra suffix words. A score below 0.6 is not a confident match.

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

Input Schema

NameRequiredDescriptionDefault
nameYesResort name as written by the user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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 non-structured behavior: it normalizes real-world spelling drift (spacing, suffixes, punctuation) and returns a confidence score with a 0.6 trust cutoff. It omits what happens when nothing matches at all.

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 short sentences: what it does, why it exists, and the decision threshold. The confidence cutoff is stated last where it is most actionable, and there is no filler.

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 carries the burden of describing returns, and it does name the two outputs (slug, confidence score) plus the interpretation threshold. It leaves one gap: the no-match / low-confidence fallback behavior is undefined, which an agent would need before deciding what to do next.

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

Parameters4/5

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

Schema coverage is 100% for the single parameter, so the baseline is 3. The description earns an extra point by illustrating the input's expected messiness with concrete variants ("Soneva Fushi" vs "SonevaFushi"), which tells the agent it need not pre-clean the string.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and transformation (loose name -> canonical slug plus confidence score), which is clearly distinct from fetching (get_resort) or searching (search_resorts). It stops short of naming those siblings to make the boundary explicit, so it lands at a strong 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent can infer this is for user-authored names that need normalization, and the 0.6 threshold gives actionable guidance on evaluating results. But there is no explicit "use this instead of get_resort/search_resorts" routing instruction, which matters given the crowded sibling set.

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