Skip to main content
Glama
angelscript-mcp

angelscript-mcp

Describe a symbol

angelscript_describe_symbol
Read-onlyIdempotent

Retrieve a symbol's signature, type, documentation, and declaration location for AngelScript script or host API names. Use it to confirm how to call a function, check a field's type, or view all overloads.

Instructions

Show the signature, type and documentation of a symbol, and where it is declared. Works for script symbols and host API names. Use it to confirm how to call a function or what a field's type is. Overloads are all shown.

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_describe_symbol"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesQualified name, bare name, or 'path/to/file.as:LINE'.
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/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds value on top by disclosing that overloads are all shown and that resolution spans both script symbols and host API names. It omits what happens when a symbol cannot be resolved, which is the main remaining behavioral gap.

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: return content, symbol scope, usage trigger, and overload behavior. The core payload is front-loaded and nothing is repeated from the name or 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 no output schema, the description does the job of describing the return shape (signature, type, documentation, declaration site, all overloads), and both parameters are documented in the schema. Only the failure/unresolved-symbol case is left unaddressed for a tool whose whole purpose is lookup.

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 the schema already spells out the three accepted name forms plus the response_format enum meanings. The description adds no syntax or format detail beyond what the schema provides, so the baseline 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?

Uses a specific verb plus resource ('Show the signature, type and documentation of a symbol') and enumerates exactly what is returned, including declaration location and overload handling. It does not explicitly name how it differs from angelscript_find_symbol, though 'Works for script symbols and host API names' does implicitly separate it from angelscript_host_api.

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 to confirm how to call a function or what a field's type is' gives a concrete triggering scenario, not just a restatement of purpose. No explicit exclusions or named alternatives are given, so the agent must still infer that lookup happens after or instead of a search.

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