Skip to main content
Glama
angelscript-mcp

angelscript-mcp

Outline a file

angelscript_file_outline
Read-onlyIdempotent

List classes, functions, methods and fields declared in a single .as file with signatures and line ranges, so you can read structure instead of the whole file.

Instructions

List the classes, functions, methods and fields declared in one .as file, with signatures and line ranges. Read this instead of the whole file when you only need its structure.

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": {
      "path": "<path>"
    },
    "name": "angelscript_file_outline"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFile relative to the workspace root, such as 'scripts/main.as'.
depthNoHow many levels of nesting to show.
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.2/5.0
Behavior4/5

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

The annotations already declare this as a safe, idempotent, closed-world read, so the description carries a lighter burden. It still adds context the annotations don't: what the payload contains (signatures and line ranges) and the token-efficiency rationale for preferring it over reading the file. It does not say what happens for a missing or non-.as path, but that is a modest gap given the read-only profile.

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?

Two sentences with no waste: the capability and its output come first, the usage rule second. Every clause earns its place.

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 carries the burden of describing the return value and does so at a high level (declaration kinds, signatures, line ranges). All three parameters are documented in the schema, so nothing essential is missing for a simple three-parameter reader; nesting behavior under 'depth' is implied but not spelled out.

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%, with path, depth, and response_format all documented plus an enum on the format. The description adds nothing about depth semantics or when to request json over markdown, so the schema does all the work and the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List the classes, functions, methods and fields declared in one .as file') plus the payload shape ('signatures and line ranges'). The scope is tightly bounded to a single file, which separates it from symbol-search siblings without needing to name them.

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?

Gives an explicit selection rule against the main alternative ('Read this instead of the whole file when you only need its structure'), which is real when-to-use guidance. It stops short of naming or excluding any of the sibling symbol tools (find_symbol, describe_symbol), so a 4 rather than a 5.

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