Skip to main content
Glama

search_2da

Read-onlyIdempotent

Find rows in a Neverwinter Nights 2DA table by matching a column value with case-insensitive substring search, enabling quick lookups of game data.

Instructions

Search a 2DA table for rows where a column matches a value (case-insensitive substring match).

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": {
      "table": "<table>",
      "column": "<column>",
      "value": "<value>"
    },
    "name": "search_2da"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableYes2DA table name without extension
valueYesValue to search for (case-insensitive substring)
columnYesColumn name to search

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds the case-insensitive substring matching rule, which is useful behavior, but says nothing about what a match returns (full rows vs. values), result limits, or what happens with an unknown table or column.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the matching semantics are stated inline where they matter. Nothing is redundant or misplaced.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter read tool with annotations and no output schema, the basic contract is clear. It is still thin on the return shape and on error/edge behavior for missing tables or columns, which an agent would want before calling.

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% and each parameter (table, column, value) is already described in the schema, including the case-insensitive substring rule for value. The description restates that rule rather than adding format details such as whether table names are case-sensitive or how column names map to headers.

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 (a 2DA table) and adds the matching condition: rows where a column matches a value via case-insensitive substring. That is enough to tell it apart from list_2da_tables and resolve_2da, but no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains what the call does but gives no when-to-use framing, no prerequisites (does the table need to exist or be loaded?), and no guidance on when resolve_2da, search_by_field, or resman_search would be the better choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools