Skip to main content
Glama

DualSoft AAS & PLC (DS Studio)

docs_search

Read-onlyIdempotent

Search official DS Platform specifications, guides, wiki pages, contracts, and examples by keyword, category, and spec version (DS2-SPEC-V2.0 default or DS2-SPEC-V1.1). Accepts optional query (equivalent aliases: q, keyword, search, term; empty query lists top public documents), category, version, and limit. Use first to discover matching document_id values before calling docs_read; use dsdx.examples.list to browse starter .ds2 files or dsdx.library.search for 3D equipment models.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "docs_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoAlias for query
termNoAlias for query
textNoAlias for query
viewNoOptional view mode ('summary' | 'full', default: 'full')
limitNoMaximum number of matching sections to return (default: 15, max: 50)
queryNoOptional search query keyword or phrase across canonical repository docs, grammar, contracts, examples, and wiki (omit, empty, or '*' returns full Diataxis catalog)
searchNoAlias for query
keywordNoAlias for query
versionNoTarget documentation/language version ('DS2-SPEC-V1.1' / 'ds2/v1' or 'DS2-SPEC-V2.0' / 'ds2/v2'; omit or 'latest' for V2-first search with explicitly labelled legacy references)
categoryNoOptional Diataxis 5-menu filter: 'getting-started' | 'guides' | 'reference' | 'explanation' | 'verification'
queryStrNoAlias for query
includeCategoriesNoInclude Diataxis category descriptors (default: false in summary view)

Output Schema

NameRequiredDescriptionDefault
errorNoStructured error payload when status != OK
resultNoOperation result payload
statusNoOK | REJECTED
protocolNoDSDX-MCP/1.0 protocol URN
revisionNoWorkspace revision tag (e.g. rev-0001)
operationNoExecuted operation name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / status / description
      Previous value: -"OK | ACCEPTED | REJECTED"New value: +"OK | REJECTED"
    • changedOutput schema / properties / status / enum
      Previous value: -[
      -  "OK",
      -  "ACCEPTED",
      -  "REJECTED"
      -]New value: +[
      +  "OK",
      +  "REJECTED"
      +]
  2. Changed5 schema fields changed
    • addedInput schema / properties / keyword
      Added value: +{
      +  "description": "Alias for query",
      +  "type": "string"
      +}
    • addedInput schema / properties / queryStr
      Added value: +{
      +  "description": "Alias for query",
      +  "type": "string"
      +}
    • addedInput schema / properties / search
      Added value: +{
      +  "description": "Alias for query",
      +  "type": "string"
      +}
    • addedInput schema / properties / term
      Added value: +{
      +  "description": "Alias for query",
      +  "type": "string"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Alias for query",
      +  "type": "string"
      +}
  3. Changed3 schema fields changed
    • addedInput schema / properties / q
      Added value: +{
      +  "description": "Alias for query",
      +  "type": "string"
      +}
    • changedInput schema / properties / query / description
      Previous value: -"Search query keyword or phrase across canonical repository docs, grammar, contracts, examples, and wiki (empty or '*' returns full Diataxis catalog)"New value: +"Optional search query keyword or phrase across canonical repository docs, grammar, contracts, examples, and wiki (omit, empty, or '*' returns full Diataxis catalog)"
    • changedInput schema / required
      Previous value: -[
      -  "query"
      -]New value: +[]
  4. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description still adds real behavior beyond that: the default version is DS2-SPEC-V2.0 with V2-first search and explicitly labelled legacy V1.1 references, and an empty query returns top public documents. It does not cover the view mode or the includeCategories toggle, and with annotations this strong a 3 reflects solid but partial added value.

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?

Two dense sentences, front-loaded with purpose before routing guidance, with no filler or repeated clauses. It is on the long side for a search tool, with the alias enumeration and default-version detail adding bulk, but each clause carries information rather than padding.

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 12 optional parameters, full schema coverage, an output schema, and rich annotations, the description covers the decisive facts an agent needs: what it searches, what the defaults resolve to, and which sibling to use instead. The only gaps are the list-shaping options (view, includeCategories), which are documented in the schema and have safe defaults.

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 100%, so the baseline is 3 and the schema already explains query, aliases, version, category and limit in detail. The description echoes the alias equivalence (q, keyword, search, term) and the empty-query behavior, which largely restates the schema, and it omits several parameters entirely (view, includeCategories, text, queryStr). It confirms rather than extends the parameter documentation.

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 names a specific verb (Search) and enumerates the resource set (official DS Platform specifications, guides, wiki pages, contracts, examples) plus the axes it searches along (keyword, category, spec version). It also names the siblings it differs from (docs_read, dsdx.examples.list, dsdx.library.search), so an agent can separate it from adjacent tools without reading any schema.

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?

Explicit routing is given: use this first to discover document_id values, then call docs_read; use dsdx.examples.list for starter .ds2 files and dsdx.library.search for 3D equipment models. Both the when-to-use and the when-not-to-use conditions are stated with the alternative named in each case.

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.

Resources