Skip to main content
Glama
angelscript-mcp

angelscript-mcp

Look up the host API

angelscript_host_api
Read-onlyIdempotent

Search the host application's registered functions, types, methods and enums before writing AngelScript, so you never invent an API. Returns exact declarations and docs for a name or partial name.

Instructions

Search the functions, types, methods and enums the host application registers, read from the .as.predefined stubs. Use it before calling any host function or type so you never invent an API. The query is a name or part of one, such as 'Spawn' or 'Game::Player'. Results show the exact declaration and its documentation; for a type, its members.

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": {
      "query": "<query>"
    },
    "name": "angelscript_host_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoRestrict results to one kind of declaration.any
limitNoMaximum declarations to return.
queryYesName or part of a name, optionally qualified with '::'.
offsetNoDeclarations to skip, for paging.
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 establish that this is a safe, idempotent, closed-world read. The description adds context beyond them: where the data comes from (.as.predefined stubs) and what the payload contains ('the exact declaration and its documentation; for a type, its members'). It does not discuss what happens on an empty result set or how partial names match, which keeps it from a 5.

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 tight sentences, front-loaded with the action and source of truth, then the imperative usage rule, then the result shape. No sentence is filler and nothing important is buried.

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 correctly compensates by sketching what results contain. With five parameters fully covered by the schema and safety covered by annotations, the remaining gap is minor: no mention of pagination behavior or behavior when no declaration matches.

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%, so all five parameters, including the two enums, are already documented in structured form. The description only reinforces the query parameter with concrete examples ('Spawn', 'Game::Player'), which slightly helps but largely restates the schema's 'optionally qualified with ::' wording and says nothing about kind, limit, offset, or response_format.

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 concrete verb and resource: 'Search the functions, types, methods and enums the host application registers,' and identifies the source of truth (.as.predefined stubs). It implicitly separates host-registered API surface from project-level symbol lookups in the sibling set, though it never names an alternative tool.

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 states an explicit usage condition: 'Use it before calling any host function or type so you never invent an API,' which is actionable guidance rather than a vague suggestion. It does not say when to prefer a sibling like angelscript_find_symbol or angelscript_describe_symbol, so the boundary between host API search and project symbol search is left to inference.

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