Skip to main content
Glama

Get one entity record (generic)

get_entity
Read-onlyIdempotent

Generic record lookup: vertical + slug (from search_entities). Same output as the vertical-specific get tool (e.g. get_hotel). Example: {"vertical":"hotels","slug":"hotel-nordic"}.

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of labels, note and record page URL (en, es, fr, ca)en
slugYes
countryNo
verticalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / country / default
      Removed value: -"andorra"
    • changedInput schema / properties / vertical / enum
      Previous value: -[
      -  "hotels"
      -]New value: +[
      +  "hotels",
      +  "restaurants"
      +]
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered and the description only needs to add context. It adds one valuable behavioral fact — that the response shape is identical to the vertical-specific get tools — but says nothing about miss/not-found behavior or what the returned record page URL and note fields look like.

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?

Very tight — two clauses plus an inline JSON example, with the generic-lookup purpose front-loaded. The fragmentary colon-and-parenthetical style is efficient, though the example could have been annotated to show which fields are required versus illustrative.

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

Completeness3/5

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

For a 4-parameter read tool with full annotations and no output schema, the core call path (vertical + slug, obtained from search_entities) is adequately conveyed. But the country parameter is undocumented and no failure mode is described, so an agent would not know how to use or omit country correctly.

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 only 25% (only lang is documented in the schema), so the description must compensate, and it partially does: it explains the vertical+slug composite key and provides a concrete example object showing the expected format. It leaves slug format unexplained beyond provenance, and the country parameter (enum: andorra) is completely unaddressed in both schema and description, which is the notable gap.

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?

"Generic record lookup: vertical + slug" names a specific verb and resource and states the composite key it uses. It also explicitly positions itself against the vertical-specific siblings ("Same output as the vertical-specific get tool (e.g. get_hotel)"), so an agent can distinguish get_entity from get_hotel/get_restaurant without opening either schema.

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?

The parenthetical "(from search_entities)" implies the expected workflow of searching first to obtain a slug, which is genuinely useful context. However, it never says when to prefer this generic tool over get_hotel or get_restaurant, nor what happens if the vertical/slug pair doesn't exist; the choice between generic and vertical-specific is left 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