Skip to main content
Glama

docs_expression_function

Look up an Ignition expression function by name and version in the manual to retrieve the matching page, citation, and extracted sections for reference.

Instructions

Look up an expression function in the versioned manual.

Args: name: Function name, e.g. ceil. version: Docs version.

Returns: The matching page, citation and extracted sections.

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": "<name>"
    },
    "name": "docs_expression_function"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
versionNo8.3

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It names the return payload (page, citation, extracted sections), but says nothing about lookup failure behavior, whether an unknown name or version errors versus returns empty, or any network/auth requirements.

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?

Compact and front-loaded, with the purpose sentence first and Args/Returns sections after. The Returns block is largely redundant given an output schema exists, which is the only wasted text.

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

Completeness3/5

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

For a two-parameter lookup with an output schema, the definition is adequate but thin: it leaves open valid version strings, not-found behavior, and how it relates to the near-identical docs_system_function sibling. An agent could call it, but may guess wrong on version values or pick the wrong sibling.

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 0%, and the description covers both parameters: 'name' with a concrete example ('ceil') that clarifies it is a math-style expression function, and 'version' as the docs version. However, 'Docs version' is vague about accepted format and valid values, and the schema's default of 8.3 is not contextualized.

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 specific verb and resource ('Look up an expression function in the versioned manual'), which is clearly narrower than docs_search or docs_get_page. It does not explicitly contrast with the sibling docs_system_function, so an agent must infer that 'expression' vs 'system' is the dividing line.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool rather than docs_system_function, docs_search, or docs_get_page, and no exclusions or prerequisites. The only usage hint is implicit in the resource name.

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

Deploy Server

Other Tools