Skip to main content
Glama

export_resource

Idempotent

Extract a single resource file from a Neverwinter Nights module by name and type, then write it to a specified disk path for inspection or reuse.

Instructions

Extract a single resource file from the module to a specified path on disk.

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": {
      "resref": "<resref>",
      "type": "<type>",
      "outputPath": "<outputPath>"
    },
    "name": "export_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesResource extension (e.g., 'uti', 'nss', 'dlg')
resrefYesResource name without extension
outputPathYesAbsolute path to write the file to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations supply only idempotentHint=true; the description usefully adds that the operation writes a file to a caller-supplied disk path. It does not disclose what happens if the target file already exists, whether parent directories must exist, or what errors are returned, which matter for a disk-writing operation.

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 the verb, scope, and destination in order, and no redundant or filler wording.

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 tool with full schema coverage and no output schema, the core action is adequately covered. Missing are the overwrite/error semantics and any note on how the extracted file relates to the module state, which would round out a write-to-disk tool.

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% and all three parameters are documented in the schema with meanings and examples. The description restates the destination concept but adds no syntax, format, or constraint information beyond the schema, so the baseline of 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 (extract) and resource (a single resource file) plus the destination (a path on disk), which implicitly separates it from get_resource and the report exporters. It does not explicitly name or contrast any sibling, so the differentiation is inferential rather than stated.

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 'to a specified path on disk' implies the use case is materializing a file for external use, but there is no explicit when-to-use versus get_resource or clone_resource, and no stated prerequisites or exclusions.

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