Skip to main content
Glama

resolve_2da

Read-onlyIdempotent

Look up a row or specific column value in a Neverwinter Nights 2DA table by row index, using base game and HAK tables loaded through resman.

Instructions

Look up a value in a 2DA table by row index. Returns the full row or a specific column value. Uses base game + HAK 2DA tables loaded via resman.

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>",
      "row": "<row>"
    },
    "name": "resolve_2da"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowYesRow index to look up
tableYes2DA table name without extension (e.g., 'appearance', 'baseitems', 'itempropdef')
columnNoSpecific column to return (returns full row if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description adds meaningful behavioral context: return shape ('full row or a specific column value') and data provenance ('base game + HAK 2DA tables loaded via resman'). It does not mention behavior when a row or table is missing, which prevents a top score.

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 front-loaded sentences with no filler. The opening clause establishes purpose immediately, and the remaining sentences add relevant return and data-source context. It could be marginally tightened but is well-structured.

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 simple read-only lookup tool with three parameters and no output schema, the description covers purpose, return shape, and data source. Missing only error-case behavior (e.g., nonexistent table/row), which is a minor gap given the annotations.

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 all three parameters are already documented in the schema. The description reinforces the semantics of 'row index' and 'specific column' but does not add format details, enumeration hints, or other meaning beyond what the schema provides.

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 description states a specific verb and resource ('Look up a value in a 2DA table by row index') and clarifies the scope (row lookup, returns full row or column). It doesn't explicitly name sibling alternatives like search_2da or list_2da_tables, so an agent must infer the difference from the precision of 'by row index'.

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?

No explicit when-to-use or when-not-to-use guidance is provided. The description does not contrast this tool with search_2da (which likely searches by value) or list_2da_tables, so an agent lacks clear routing cues for similar-looking siblings.

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