Skip to main content
Glama

search_by_field

Read-onlyIdempotent

Locate GFF fields by name and optional value across parsed resources, with filtering by resource type to find matching data in Neverwinter Nights modules.

Instructions

Search for GFF fields by name and optionally by value across all parsed resources.

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": {
      "fieldName": "<fieldName>"
    },
    "name": "search_by_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoFilter by resource type/extension
valueNoOptional value to match (string comparison)
fieldNameYesField name to search for (e.g., 'ChallengeRating', 'Conversation')

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 the safety profile is covered. The description adds the useful scope note that the search spans all parsed resources, but says nothing about result format, whether matches are grouped by resource, or limits on result size.

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 no wasted wording. It is efficient, though the terseness leaves behavioral gaps that a slightly longer description could close.

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?

With 3 fully documented parameters, a safety-covering annotation set, and no output schema, the definition is minimally sufficient. It still leaves the agent guessing what "parsed resources" means and what a match looks like.

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 fieldName, value, and type are already documented in the schema; baseline 3 applies. The description echoes the name/value usage but adds no detail beyond the schema, and never mentions the type filter.

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 ("GFF fields") with scope ("across all parsed resources"), which distinguishes it from sibling searchers like search_by_resref and search_by_tag. It stops short of explicitly contrasting with those siblings, so it is clear but not fully differentiated.

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?

The phrase "by name and optionally by value" implies when this search mode applies, but there is no explicit when-to-use guidance, no exclusions, and no pointer to search_by_resref or search_by_tag as alternatives for different lookup keys.

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