Skip to main content
Glama

AX Field Guide

Search the Field Guide

ax_search
Read-onlyIdempotent

Find heuristics and lexicon terms by meaning words. Returns short cards (id, title, one-line law or definition, full_tokens = cost of reading the full entry). An empty query lists entries of the chosen type in order. Example: ax_search(query="stale reads", type="heuristic", limit=5)

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

Input Schema

NameRequiredDescriptionDefault
typeNoLimit to heuristics, terms, or bothall
limitNoCards to return, 1–20
queryYesWords to look for, e.g. "error messages" or "context window". Empty lists entries in order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds value beyond them by disclosing the return shape (id, title, one-line law/definition, full_tokens) and a cost model for reading the full entry, plus the empty-query edge case. It stops short of mentioning pagination or ranking order for non-empty queries.

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?

Three short sentences, front-loaded with the purpose, then the return shape, then the edge-case behavior, ending with a compact example that demonstrates all parameters in one line. Nothing is padded, though the example slightly duplicates what the schema and prose already say.

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?

There is no output schema, so the description carries the burden of explaining returns and does so with the card fields and full_tokens cost signal. Combined with 100% schema coverage and full annotations, an agent has nearly everything needed to call it; only result ordering/ranking for non-empty queries is unstated.

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 coverage is 100%, so all three parameters are already documented, making 3 the baseline. The phrase "by meaning words" hints at semantic (non-literal) matching, which is a slight addition beyond the schema's "Words to look for", but the worked example mostly restates parameter usage rather than adding new constraints.

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?

"Find heuristics and lexicon terms by meaning words" names a concrete verb (find/search) and the resources searched (heuristics, terms), and the second sentence says exactly what comes back. It is clear on its own, but it never contrasts itself with siblings like ax_get or ax_traverse, so the agent must infer that ax_get fetches the full entry from the full_tokens hint rather than from an explicit statement.

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?

"An empty query lists entries of the chosen type in order" gives a concrete usage mode (browse/enumerate), which is genuinely helpful. However, there is no explicit when-to-use-this-vs-sibling guidance and no statement of when not to use it, so the routing decision is only implied.

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.