Skip to main content
Glama
Digilac

simap MCP Server

by Digilac

search_oag_codes

Search OAG object classification codes by keyword or number to find the right code for Swiss public tenders.

Instructions

Search OAG (object type classification) codes by keyword or number

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoSearch languageen
queryYesSearch term (keyword or code number)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.4.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv1.3.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the action as a search but does not mention return format, pagination, or any limitations. For a search tool this is minimal but acceptable; however, it adds little beyond the schema's parameter descriptions. No contradictions exist.

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 a single, front-loaded sentence with zero redundancy. It immediately identifies the verb, resource, and input type. This is exemplary conciseness for a search tool.

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?

The tool is a simple two-parameter search with no output schema. The description sufficiently conveys the core function, and the schema covers parameter details. However, it does not explicitly clarify the distinction from browse_oag_tree or what the result set contains, which could be helpful given the many sibling tools. Still, it is largely complete for the basic call.

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%, with both 'query' and 'lang' parameters having descriptive text. The description adds no extra meaning beyond the schema, essentially restating that it searches by keyword or number. Baseline score of 3 is appropriate given the complete schema coverage.

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 states a specific verb ('Search'), a precise resource ('OAG (object type classification) codes'), and the input type ('keyword or number'). It clearly distinguishes itself from sibling search tools like search_cpv_codes, search_bkp_codes, and search_npk_codes by naming OAG explicitly. The acronym is expanded for clarity.

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 implies usage for OAG codes but does not explicitly state when to use this tool versus alternatives such as browse_oag_tree or other code search tools. It provides no exclusions or conditions, leaving the agent to infer the appropriate selection based solely on the OAG reference. This is adequate but not explicit.

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