Skip to main content
Glama
angelscript-mcp

angelscript-mcp

Find a symbol

angelscript_find_symbol
Read-onlyIdempotent

Locate AngelScript classes, functions, methods, fields, and enums by name or qualified path across workspace scripts and host stubs, returning declarations, signatures, and optional source bodies.

Instructions

Find classes, functions, methods, fields and enums by name across the workspace scripts and the host stubs. Accepts a name or part of one ('Tick'), or a qualified path ('Player::Tick'). Returns where each is declared with its signature. Set include_body to read the source of script declarations. Prefer this to grepping when you know a symbol name.

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": {
      "name_path": "<name_path>"
    },
    "name": "angelscript_find_symbol"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNoKeep only these kinds of symbol.
limitNoMaximum symbols to return.
scopeNo'scripts' excludes the host stubs, 'host' only searches them.all
offsetNoSymbols to skip, for paging.
name_pathYesSymbol name or qualified path such as 'Namespace::Class::method'.
include_bodyNoInclude the source of each script declaration (host stubs are skipped).
response_formatNo'markdown' (default) is compact text for reading. 'json' returns structured data.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds genuinely useful behavior the annotations cannot convey: results include declaration site and signature, include_body only applies to script declarations and skips host stubs, and partial-name matching is supported. Return-shape detail beyond that (ordering, paging behavior) is left to 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?

Four short sentences, each carrying distinct information: what is searched, accepted input forms, what is returned, and the grepping alternative. The purpose is front-loaded and nothing is redundant with the title.

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?

With seven parameters — all schema-documented — and no output schema, the description would benefit from explaining the return payload a bit more, but it does state that each hit comes with its declaration location and signature. Combined with the explicit scoping note for host stubs, an agent has enough to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is already 100%, which sets a baseline of 3. The description still earns a step up by clarifying behavior the schema does not say: name_path accepts a bare name, a fragment like 'Tick', or a qualified path like 'Player::Tick', and include_body has a stated effect (read source of script declarations).

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 names a specific verb ("Find") plus the exact resource set (classes, functions, methods, fields, enums) and the search domain (workspace scripts and host stubs). It also states what comes back (declaration location plus signature). It stops short of naming sibling tools like angelscript_describe_symbol or angelscript_find_references, so differentiation is inferred rather than explicit.

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?

It gives a clear positive usage rule ("Prefer this to grepping when you know a symbol name") and the input styles that qualify (bare name, partial name, qualified path). It does not state when to choose a sibling instead, such as when you want documentation rather than locations, so there is no explicit exclusion set.

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