Skip to main content
Glama

list_script_references

Read-onlyIdempotent

Find where scripts are referenced across GFF files, including event handlers and dialog actions. Omit the resref to list all references.

Instructions

Show where scripts are referenced from in GFF files (event handlers, dialog actions, etc.).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_script_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
resrefNoSpecific script resref, or omit to list all

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 already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds useful scope by naming the reference contexts (event handlers, dialog actions) in GFF files, but says nothing about output shape, whether all GFF files are scanned, or how results are grouped.

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?

One tight sentence with the resource front-loaded and the parenthetical examples earning their place. No redundant or filler wording.

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, one-parameter lookup with annotations covering safety and no output schema, the description conveys enough to call it correctly. A brief note on scan scope or result structure would close the remaining gap.

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 the single resref parameter already documents 'Specific script resref, or omit to list all.' The description does not mention the parameter or add filtering semantics beyond what the schema provides, 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 and resource: showing where scripts are referenced from in GFF files, with concrete examples (event handlers, dialog actions). This is a distinct reverse-lookup operation relative to compile_script or read_script_source, though the description does not explicitly contrast itself with them.

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 by the stated purpose — an agent can infer this is for finding script usage sites, but there is no explicit when-to-use guidance, no mention of prerequisites (e.g., which GFF files are scanned), and no named alternative for related lookups.

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