Skip to main content
Glama

Ada Çetin Sigorta Aracılık

Liste seçeneklerini ara

search_field_options
Read-onlyIdempotent

Searches the options of a list field (input: "lookup" in list_products), such as occupation, brand, model, usage type or coverage limit. Returns up to 20 { value, label }; the value (code) is what start_quote takes. Search is case- and accent-insensitive Turkish. Without query it returns the first options (a short list comes back complete; truncated: true means more options exist and a narrower query finds them). If nothing in a short list matches, all its options come back with noMatch: true, so the user can pick the one that fits. A field with dependsOn needs those fields' codes in context. No sign-in needed. Returns no personal data.

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": {
      "product": "<product>",
      "field": "<field>"
    },
    "name": "search_field_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldYesField `path` from list_products (a field with `input: "lookup"`).
queryNoText to search in option labels, e.g. "audi" or "sigortacı". Omit to get the first options.
contextNoCodes of the fields in `dependsOn`, keyed by field path, e.g. { "arac.modelYear": 2020, "arac.usageStyle": "01", "arac.marka": "045" }.
productYesProduct key (`product` from list_products).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: no sign-in required, no personal data returned, case- and accent-insensitive Turkish matching, a 20-option cap, `truncated` signaling, and the `noMatch` fallback that returns all short-list options. These are non-obvious behaviors an agent could not infer from readOnlyHint/idempotentHint.

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?

Front-loads purpose, then return shape, then matching behavior, then edge cases. Every sentence carries operational information; nothing is redundant filler despite the density.

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

Completeness5/5

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

With no output schema, the description supplies the return shape (`{ value, label }`, up to 20, `truncated`/`noMatch` flags) and covers the nested `context` object and the lookup-field precondition. An agent has everything needed to call it and interpret the result.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real semantics: `query` is matched against option labels with Turkish case/accent folding, `context` must carry the codes of the `dependsOn` fields, and the returned `value` is a code, not a label. That clarifies how each parameter is used rather than restating the schema.

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?

States a specific verb and resource ("Searches the options of a list field") and pins it to the exact condition `input: "lookup"` from list_products, with concrete field examples. It also distinguishes itself from the downstream sibling by noting the `value` code is what start_quote takes, so an agent can place it in the flow without opening another schema.

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

Usage Guidelines4/5

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

Explains when to omit `query` (to get first options) and when a field needs `context` (fields with `dependsOn`), and how to react to `truncated: true` by narrowing the query. It does not explicitly warn against calling it for non-lookup fields, but the list_products linkage makes the precondition clear.

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