Skip to main content
Glama

Explain a concept

explain_concept
Read-onlyIdempotent

Translate a classification code, or map YOUR word for a concept to this surface's fields — ask before concluding absence.

**Codes — the crosswalk.** Every record carries NAICS, SIC, the Google
Business category and the payment MCC, tied together by our own taxonomy.
Give ANY one — `term` "MCC 5812", "SIC 1711", "NAICS 238220", "google
category plumber" (or `system` = naics / sic / mcc / google_category plus
`code`) — and get the other three back: the equivalents in each system, our
industry, the ready-to-use `filters` for each system, and a live count
(`total` is the whole crosswalk neighborhood; `total_exact` only industries
that carry the code itself; each industry is marked `exact` or `related`).
A code we do not carry directly WIDENS — to its parent group, then to the
industries the crosswalk ties it to — and `widened` says which step it took;
an empty answer means nothing relates to it, and names where to go next.
A trade word works too — "plumbers", "electrician", "lawyer", "locksmith": it is
read against the NAME of every code at every level (the Google category
"Plumber", the NAICS title "Offices of Lawyers", the SIC group "Legal
Services", the MCC description), and the answer says which level named it and
gives the broader parent. A SIC or NAICS prefix (`17`, `238`) is a whole group. A payments seller starts
from an MCC, a web designer from a Google category, a lender from NAICS — all
reach the same list. Hand the `filters` to `browse_leads` / `quote_list`.

**Concepts.** Call this whenever a term you or your buyer uses ("vertical",
"direct dial", "sole proprietor", "operating address", "decision maker")
doesn't obviously match a field name. It answers in three shapes:
`carried` names the exact fields and how to use them; `partially_carried`
adds per-state availability with the reason a state is zero (zero by state
design is not a data gap); `not_carried` explains why and names the nearest
signal we do hold. Ambiguous terms return a clarifying question instead of
a guess.

Never conclude "this data is missing" from an empty filter result or an
unmatched field name without calling this first — several concepts are
carried under a different name, and several zeros are publication facts,
not gaps.

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

Input Schema

NameRequiredDescriptionDefault
codeNo
termYes
systemNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / code
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Code"
      +}
    • addedInput schema / properties / system
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "System"
      +}
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already mark this readOnly/idempotent/non-destructive, and the description adds substantial behavior beyond that: widening-to-parent behavior with a `widened` flag, empty answers meaning nothing relates, ambiguous terms returning a clarifying question, and the exact/related and total/total_exact distinction. This is real disclosure of non-obvious semantics, not repetition.

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?

It is front-loaded with the core purpose and uses bold section headers ('Codes — the crosswalk', 'Concepts') to organize a lot of content. The prose is dense and occasionally sprawling, but nearly every sentence carries behavioral detail that would otherwise be lost, so it earns most of its length.

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?

With no output schema, the description must explain return values and it does: the three answer shapes (carried/partially_carried/not_carried), the crosswalk returns (equivalents, industry, ready-to-use `filters`, counts, exact/related marks). An agent has everything needed to call it and interpret results.

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

Parameters5/5

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

Schema description coverage is 0% and there are 3 params, so the description must compensate fully and does: `term` accepts a code string ('MCC 5812'), a trade word, or a prefix; `system` is enumerated inline (naics/sic/mcc/google_category); `code` pairs with `system`. Each parameter's accepted forms and combination rules are explained.

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 two specific verbs/resource-modes: translating a classification code across NAICS/SIC/Google/MCC via the crosswalk, and mapping a user's word for a concept to this surface's fields. It clearly distinguishes itself from siblings by naming `browse_leads` and `quote_list` as downstream consumers rather than alternatives. An agent can tell exactly what this tool does without opening anything else.

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?

Explicit triggering conditions are given: 'Call this whenever a term you or your buyer uses ... doesn't obviously match a field name', and a strong negative rule: 'Never conclude "this data is missing" from an empty filter result or an unmatched field name without calling this first.' It also routes output onward to browse_leads/quote_list, covering when and how 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