Skip to main content
Glama

ai_search_intent

Read-only

SEO search intent classifier (batch) — Classify up to 50 search keywords by intent (informational, navigational, commercial, transactional, local) and funnel stage (awareness, consideration, decision, retention), with a topic cluster per keyword. Each label is snapped to the allowed set and cross-checked against offline keyword-modifier rules (buy, best, vs, near me, login, how...) - rulesAgree flags disagreements; if the model is unavailable the rules still answer. Returns per-keyword intent, stage, confidence, recommended content format, intent distribution and topic clusters. keywords = comma-separated, || separated or a JSON array; optional brand=. Price: $0.008 USDC (Base, via x402).

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": {
      "keywords": "<keywords>"
    },
    "name": "ai_search_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordsYese.g. buy running shoes,best running shoes 2026,how to train for a marathon,nike login,running store near me

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare it as a read-only, open-world, non-destructive tool; the description goes well beyond that with a billing model ($0.008 USDC via x402 on Base), a hard batch limit of 50, a deterministic rules fallback when the model is down, a rule/model consensus flag (rulesAgree), and output-field snapping to the allowed label set. These are exactly the operational traits an agent needs before invoking a paid, non-deterministic classifier, and none of them are recoverable from the annotations.

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 a single dense paragraph, front-loaded with the core classification task then layered with mechanics, pricing and return values, so an agent can stop reading early if it only needs the purpose. A few clauses (the parenthetical modifier list, the output enumeration) run long, but each sentence carries distinct information rather than restating the name.

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 fully compensates by enumerating the return payload (per-keyword intent, stage, confidence, content format, plus intent distribution and topic clusters). Combined with input formats, batch limits, fallback behavior and cost, an agent has everything needed to call this correctly and to budget for it.

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 coverage is 100% and the single property already carries an example, so the baseline is 3; the description earns an extra point by documenting three accepted keyword encodings (comma-separated, '||' separated, JSON array) and the 50-item ceiling. It loses credibility slightly by advertising an 'optional brand=' input that does not appear in the schema, which could send an agent looking for a parameter that isn't there.

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?

The opening phrase names a specific verb and resource ('SEO search intent classifier (batch)'), spells out the full label sets for intent and funnel stage, and states the 50-keyword batch cap. What keeps it from a 5 is that it never distinguishes itself from look-alike siblings such as ai_intent or classify, leaving the agent to infer the difference from the domain wording alone.

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?

Usage is implied by the batch framing and the enumerated inputs, and the degradation clause ('if the model is unavailable the rules still answer') tells the agent the tool always responds. There is no explicit when-to-use/when-not guidance and no named alternative for single-keyword or non-SEO classification, so routing is left partly 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