Skip to main content
Glama

Keyword search across the diamond encyclopedia

search_encyclopedia

Find diamond and gemology terms with a keyword search across 90 encyclopedia entries. Results rank matches by relevance and include term, category, and definition snippet for quick reference.

Instructions

Keyword search across the 90 entry diamond and gemology encyclopedia. Ranks case insensitive keyword hits by field, weighting the term above the definition above the body. Returns the best matches as term, category, and a definition snippet. Use define to fetch a full entry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results to return, 1 to 10. Default 5.
queryYesKeywords to search for, for example "bow tie" or "lab grown durability".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.5

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses case-insensitive matching, field-weighted ranking, and the return shape (term, category, definition snippet). This goes beyond the input schema and gives an agent a solid behavioral model of the search operation.

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 purposeful sentences with no fluff. The resource scope, ranking behavior, result shape, and sibling pointer are all packed in efficiently.

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?

For a simple search tool with no output schema, the description adequately explains ranking and return values, and covers the relationship to define. It does not mention empty-result behavior or error handling, but those are minor for this tool's complexity.

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 schema fully documents both query and limit. The description adds no parameter-specific detail beyond the schema, matching the baseline of 3.

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: keyword search across the 90-entry encyclopedia. It also distinguishes itself from the sibling tool define by noting that define fetches a full entry, so an agent can clearly tell the tools apart.

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

Usage Guidelines4/5

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

Provides clear context on what the tool does and explicitly points to define for fetching full entries, forming a reasonable when-to-use versus alternative. It does not spell out exhaustive when-not-to-use conditions, but the pointer to define is sufficient guidance for this setting.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.