Skip to main content
Glama

Kristiine Autorent

Set insurance and extras

set_selected_services
Idempotent

Replace the whole set of selected extras with the given service ids, so pass every id that should end up selected and omit the rest. At most one INSURANCE service may be included. Ids come from list_extra_services or select_car.

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": {
      "serviceIds": "<serviceIds>"
    },
    "name": "set_selected_services"
  }
}

Input Schema

NameRequiredDescriptionDefault
serviceIdsYesThe complete set of service ids to select. Pass an empty array to clear all extras.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations, it discloses the full-replacement semantics (omitted ids are deselected) and a domain constraint not present in structured fields: at most one INSURANCE service. Both are decision-relevant. It doesn't state what happens on invalid or duplicate ids, and the wholesale removal of prior selections sits slightly awkwardly beside destructiveHint=false, though as reversible preference state this is not a genuine contradiction.

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?

Two sentences, both earning their place: the replacement semantics lead, the constraint and id source follow. No restatement of the tool name or filler.

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 one fully documented parameter, full annotation coverage and no output schema, the description covers everything an agent needs to construct a correct call. Minor gap: no mention of error behavior for invalid ids or for violating the one-INSURANCE rule.

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% and the schema already documents serviceIds including the empty-array case, so the schema carries the baseline. The description adds meaning on top: the array is a complete replacement set, not an addition, plus the single-INSURANCE constraint that the schema does not encode.

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 opens with a precise verb+resource combination ('Replace the whole set of selected extras with the given service ids') and immediately clarifies the replace-not-merge semantics. It is unambiguous and distinguishable from sibling tools like list_extra_services or select_car, which merely supply ids.

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?

It tells the agent exactly how to call it ('pass every id that should end up selected and omit the rest') and where ids come from ('list_extra_services or select_car'), which is real routing guidance. It stops short of explicit when-not-to-use conditions or a named alternative for an incremental add operation.

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