Skip to main content
Glama

search_by_resref

Read-onlyIdempotent

Search Neverwinter Nights resources by case-insensitive resref substring, optionally filtering by file extension, to quickly locate scripts, creatures, items, or other assets.

Instructions

Search for resources by resref pattern (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": {
      "pattern": "<pattern>"
    },
    "name": "search_by_resref"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoFilter by extension (e.g., 'nss', 'utc')
patternYesSubstring to search for in resource names

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

B3.4/5.0
Behavior3/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 genuine behavioral detail beyond that: matching is case-insensitive and substring-based rather than exact, which affects result sets. It says nothing about result limits, ordering, or what a match contains, leaving meaningful behavioral gaps.

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?

A single front-loaded sentence with the matching semantics in parentheses — zero wasted wording. It is efficient, though the brevity edges toward under-specification rather than pure conciseness.

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 two-parameter read tool this covers the core intent, but with no output schema the description never indicates what a match returns (resref, extension, resource data) or whether results are capped, so an agent cannot anticipate the response shape.

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 both parameters are already documented, and baseline is 3. The description only reinforces the 'pattern' semantics with case-insensitivity and ignores the 'type' extension filter entirely, adding little beyond the schema.

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 and resource ('search for resources') plus the matching key ('by resref pattern'), which distinguishes it from search_by_field and search_by_tag by naming the lookup dimension. It stops short of explicitly contrasting itself with those siblings, so a 4 rather than a 5.

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 only implied: an agent can infer this is the tool for name-based lookup, but the description never says when to prefer it over search_by_field, search_by_tag, or resman_search, nor any exclusion conditions. No prerequisites or context are given.

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