Skip to main content
Glama

AILANG syntax prompt

ailang_prompt
Read-onlyIdempotent

Call this FIRST, with part "core": the AILANG teaching prompt for programs this sandbox runs (syntax, effects, pattern matching, contracts, common mistakes). AILANG is not in your training data the way Python is; code written without it rarely type-checks. part "reference" adds types, the JSON/maps/regex/strings libraries and worked examples. For one stdlib function, use stdlib_search or stdlib_module.

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": {
      "part": "<part>"
    },
    "name": "ailang_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
partYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / part
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[]New value: +[
      +  "part"
      +]
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the bar is lower, and the description adds genuinely useful context: AILANG is out-of-distribution relative to the model's training data and code written without the prompt rarely type-checks. That explains the payoff of calling it. It does not say anything about the size/shape of the returned prompt text, which is the main remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the imperative and the required parameter value, then the richer mode, then the alternative tool — a well-ordered, dense four-sentence block with no filler. The parenthetical topic list is long but each item helps the agent predict contents.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter, read-only prompt-retrieval tool with no output schema, the definition covers what it returns, when to call it, which value to use, and where to go instead. Nothing an agent needs in order to call it correctly is missing.

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 coverage is 0% for the single required parameter, so the description must carry the meaning — and it does, explaining what part "core" contains versus part "reference". It does not state whether those two values are the complete allowed set, whether they can be combined, or what happens for an unrecognized value, leaving some ambiguity against a bare string schema.

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 ('call this FIRST') and a specific resource (the AILANG teaching prompt for this sandbox), and enumerates the covered topics: syntax, effects, pattern matching, contracts, common mistakes. It also explicitly distinguishes itself from stdlib_search and stdlib_module for the single-function lookup case.

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

Usage Guidelines5/5

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

Gives explicit ordering guidance ('Call this FIRST') plus a mode-selection rule: part "core" first, part "reference" for types/libraries/examples, and names the alternative tools for the single-stdlib-function case. When-to-use and when-to-use-something-else are both covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.