Skip to main content
Glama

infosys_search_code

Read-only

Search indexed Beckhoff Infosys documentation code blocks for a function call, attribute, or constant in ST, XML, C++, or C# and return matching lines with context and page URL.

Instructions

Search the code examples ( blocks) of indexed pages for a fragment — a call pattern, an attribute, a constant. language: st | xml | cpp | csharp. Returns the matching lines with context and the page URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
languageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds that the search is restricted to <pre> blocks and that results are matching lines with context and page URL — useful, but the return format is also carried by the existing output schema, so the added value is modest.

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?

Three tight sentences with the scope front-loaded and no filler; the compact 'language: st | xml | cpp | csharp' line is efficient. Slightly dense but every clause carries information.

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?

Given a read-only tool with an output schema, the essentials (scope, language values, return shape) are present. What remains thin is routing against the many sibling infosys_* search tools and any guidance on the limit parameter, which an agent would still have to guess.

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%, so the description must compensate. It does document the language parameter's accepted values (st | xml | cpp | csharp), which the schema leaves as an untyped string with no enum — valuable. But query and limit get no elaboration beyond what is obvious from their names.

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?

States a specific verb (Search) and a precisely scoped resource: the code examples (<pre> blocks) of indexed pages. This scope (code blocks only, not prose) meaningfully distinguishes it from siblings like infosys_search and infosys_search_symbols, though it never names those alternatives directly.

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

Usage Guidelines3/5

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

It gives concrete target examples — a call pattern, an attribute, a constant — which implies what to use the tool for. However, it never states when to prefer this over infosys_search or infosys_search_symbols, nor any exclusions, so routing 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.

Deploy Server

Other Tools