Skip to main content
Glama

Define a term

define
Read-onlyIdempotent

What a term means in Rolling Edition's books, as a book defines it: each concept whose term or alias matches, with its definition in the book's own words, the book and the section that defines it, the edition, the version of each package it's true for, how it relates to other concepts, and the section's citation block. Give book, a slug, to look in one book, or context, an area or skill ID such as "search-and-recommendation", for one meaning. With no exact match, the closest terms come, marked partial. Give language, such as "es" or "Spanish", for each concept's term as Rolling Edition's own glossary for that language has it, where it has one.

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

Input Schema

NameRequiredDescriptionDefault
bookNo
termYes
contextNo
languageNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive, closed-world operation. The description adds meaningful behavioral context beyond that: it lists the returned fields, explains partial-match fallback, and clarifies that `language` returns each concept's term from Rolling Edition's own glossary where available. It does not cover ranking of partial matches or result limits, but the disclosure is strong.

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?

The definition is front-loaded with the core operation and then details return fields and parameter uses. The first sentence is long and dense, but every part contributes useful information, and there is little 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?

For a four-parameter lookup tool with zero schema descriptions and an existing output schema, the description adequately covers the input semantics and essential fallback behavior. It could be more complete by positioning the tool against sibling lookup tools, but it provides enough for an agent to call it correctly.

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 description coverage is 0%, so the description must carry parameter meaning. It explains `book` as a slug, `context` as an area or skill ID with an example, and `language` as a language code or name with examples. `term` is not explicitly described, but its meaning is obvious from the tool title and first sentence.

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 states a specific verb (define) and resource (a term in Rolling Edition's books), and explains the lookup semantics: matching term or alias, returning the definition in the book's own words, citation, edition, and package versions. It is clearly distinguishable from siblings like get_section or search_books by framing the operation as a glossary-style definition lookup.

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 description gives parameter-level usage guidance: use `book` to look in one book or `context` for one meaning. It also states that non-exact matches return closest terms marked partial. However, it does not compare this tool to alternatives such as search_books or get_section, nor does it say when not to use it.

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