Skip to main content
Glama

Denue Search In State

denue_search_in_state
Read-onlyIdempotent

Search businesses in a single Mexican state by keyword, matches against name, activity, or address. Use this for state-scoped queries that need more than just business name (e.g., "panaderia", "ferreteria"). Returns paginated results.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "keyword": "panaderia",
      "state_code": "09"
    },
    "name": "denue_search_in_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordYesSearch term, matches name, economic activity description, or address text.
page_endNoLast record (default page_start + 24)
page_startNoFirst record (1-based, default 1)
state_codeYesTwo-digit state code "01"-"32" (required, use denue_search_by_name with "00" for nationwide).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / keyword / description
      Previous value: -"Search term — matches name, economic activity description, or address text."New value: +"Search term, matches name, economic activity description, or address text."
    • changedInput schema / properties / state_code / description
      Previous value: -"Two-digit state code \"01\"-\"32\" (required — use denue_search_by_name with \"00\" for nationwide)."New value: +"Two-digit state code \"01\"-\"32\" (required, use denue_search_by_name with \"00\" for nationwide)."
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "keyword": "panaderia",
      +    "state_code": "09"
      +  },
      +  {
      +    "keyword": "ferreteria",
      +    "page_end": 50,
      +    "page_start": 1,
      +    "state_code": "14"
      +  }
      +]
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so safety is covered. The description adds genuine context beyond them: what text fields the keyword is matched against and that results are paginated, which shapes how an agent should page through output.

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 purpose and scope, then the usage cue, then the pagination note. No filler, though the parenthetical examples partly restate the keyword schema description.

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 read-only, four-parameter search with full schema coverage and no output schema, the description covers scope, matching behavior, and pagination adequately. It could still say what a result record contains or whether result totals are available, but nothing critical to invoking it correctly is missing.

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 every parameter is already documented, including the two-digit state code range and the page_start/page_end defaults. The description's note about matching name, activity, or address duplicates the keyword field description rather than adding new semantics, so baseline 3 applies.

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?

States a specific verb (Search) and resource (businesses) plus a clear geographic scope (a single Mexican state) and the matching fields. It implicitly separates itself from denue_search_by_name by saying it's for queries needing 'more than just business name', though it never names that sibling.

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?

Gives a concrete when-to-use condition ('state-scoped queries that need more than just business name') with realistic keyword examples. It stops short of explicit exclusions or naming the alternative tools (denue_search_by_name, denue_search_nearby) for out-of-scope cases.

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.