Skip to main content
Glama
angelscript-mcp

angelscript-mcp

Find references

angelscript_find_references
Read-onlyIdempotent

Locate all usages of an AngelScript symbol by qualified name or file:line, grouped by file with source lines. Check references before changing a function signature.

Instructions

List every place a symbol is used, grouped by file with the source line. Identify the symbol by name ('Player::Tick', 'Twice') or by 'path/to/file.as:LINE' when the name is ambiguous or overloaded. Use it before changing a signature.

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": {
      "symbol": "<symbol>"
    },
    "name": "angelscript_find_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum references to return.
offsetNoReferences to skip, for paging.
symbolYesQualified name, bare name, or 'path/to/file.as:LINE'.
response_formatNo'markdown' (default) is compact text for reading. 'json' returns structured data.markdown
include_declarationNoAlso list the declaration itself.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare this a read-only, idempotent, non-destructive, closed-world operation, so the safety profile is fully covered without the description. The description contributes mainly the result organization (per-file grouping with source lines); it says nothing about paging limits or result size, which are only in the schema.

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?

Three short sentences, front-loaded with the core action and output shape, then identification syntax, then the triggering workflow. Nothing is redundant or wasted.

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?

There is no output schema, but the description states how results are arranged (grouped by file with source lines), so an agent can anticipate the return value. Paging and the limit cap are left entirely to the schema, which is acceptable given full parameter coverage.

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 five parameters are already documented in the schema, establishing a baseline of 3. The description reinforces the symbol formats with concrete examples and adds the reason for the 'file:LINE' variant (ambiguity/overload), which is modest value beyond the schema's own wording.

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 gives a specific verb and resource — 'List every place a symbol is used' — and adds output shape ('grouped by file with the source line'). This is distinguishable from a declaration-lookup tool, but no sibling is named, so the contrast with angelscript_find_symbol or angelscript_rename_symbol is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use it before changing a signature' gives a concrete workflow trigger, and the ambiguity/overload condition steers the agent to the 'path/to/file.as:LINE' form. There are no explicit exclusions or named alternative tools, so it stops short of a full when/when-not/alternatives treatment.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.