Skip to main content
Glama
pietrodileo

IRIS MCP Blueprint

by pietrodileo

search_code

Search source code in IRIS namespaces for a text string or regex, filtering by file mask, case sensitivity, and system documents.

Instructions

Search for a string across IRIS source documents (Atelier action/search).

Calls GET /api/atelier/<ver>/<ns>/action/search (v2+). Both query and documents are required by the server; missing documents returns HTTP 400.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesText (or regex) to search for.
documentsNoComma-separated file mask (default `*.cls,*.mac,*.int,*.inc`).*.cls,*.mac,*.int,*.inc
regexNo1 = treat `query` as a regex, 0 = plain-text (default).
case_sensitiveNo1 = case-sensitive, 0 = case-insensitive (default). Only honoured when `regex=0`.
include_systemNo1 = include system docs (e.g. `%Api.*`), 0 = skip (default).
include_generatedNo1 = include generated docs, 0 = skip (default).
max_resultsNoMax number of hits to return (default 50).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full behavioral disclosure burden. It reveals a critical server-side requirement (both query and documents are mandatory) and the resulting error (HTTP 400 if documents is missing). This goes beyond the input schema, which marks only query as required. It does not discuss other behaviors like pagination or performance, but the core safety and contractual obligation are well communicated.

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?

The description is extremely concise—only two sentences totaling about 70 words. The first sentence immediately conveys the tool's purpose, and the second delivers critical contractual information. No extraneous detail is included.

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?

For a search tool with 7 parameters and an output schema, the description adequately covers the primary use. The mention of the server-side requirement adds completeness. However, it does not explicitly state that the operation is read-only (though implied by 'search') or describe the return structure, but the presence of an output schema likely covers that. Overall, it is sufficiently complete for an agent to invoke the tool correctly.

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?

The input schema already provides 100% coverage with descriptions for all 7 parameters. The description adds value by clarifying the implicit server requirement for the 'documents' parameter, which is not reflected as required in the schema. This extra context helps the agent understand a potential failure point.

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?

The description clearly states the verb 'Search' and the resource 'IRIS source documents', making the purpose unambiguous. It also distinguishes itself from siblings like 'get_class_source' which retrieves a specific class rather than searching across documents.

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?

The description does not explicitly specify when to use this tool over alternatives, nor does it state when not to use it. However, it does provide a crucial usage constraint: both 'query' and 'documents' are required server-side, which helps the agent avoid HTTP 400 errors. No comparison with sibling tools is provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pietrodileo/iris-mcp-blueprint'

If you have feedback or need assistance with the MCP directory API, please join our Discord server