Skip to main content
Glama

Change the solution in place

set_current_choice
Idempotent

Sets a solution by id or free name (any process), null clears. Returns the watch; challenger recomputed later. Needs an organisation token (Authorization: Bearer hodds_...); without it the tool returns the error token_required.

Input Schema

NameRequiredDescriptionDefault
watch_idYesWatch id returned by watch_need or list_watches (w_...).
current_choiceNoCatalogue id, or null.
current_choice_nameNoFree name instead of id, or null.

Output Schema

NameRequiredDescriptionDefault
needNoNatural-language need; absent/null for CATEGORY.
planYesFREE: legacy only; prepaid-v1: PAID. Organisation entitlement: GET /api/plan. No drafts.
levelYes
alertsYesThe 50 most recent alerts, unacknowledged first (200 with all=true).
statusYespayment_required returns a DRAFT error, never ACTIVE success.
targetNo
pendingNoDelivery on the next call: alerts that wait for this organisation. Absent when there is nothing to deliver. Only ack_alerts empties it.
processYes
summaryNoOne English/French sentence, per request.
watch_idYes
duplicateNoOpening: existing active watch reused.
challengerYes
created_atYes
constraintsYes
quiet_sinceYes
alert_budgetNo
rules_versionYesPublic computation rules identifier; see /rules/.
current_choiceYes
last_review_atNo
challenger_reasonYes
baseline_request_idNoSearch request_id that deduced process; null if process supplied.
current_choice_nameNoUnlinked name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / alerts / items / properties / code / enum
      Previous value: -[
      -  "CHALLENGER_CHANGED",
      -  "PRICING_MODEL_CHANGED",
      -  "CONSTRAINT_LIFTED",
      -  "CHOICE_DEGRADED",
      -  "NEW_VERSION",
      -  "GAP_RESOLVED",
      -  "CATEGORY_CHANGED",
      -  "DIGEST",
      -  "CHALLENGER_STRENGTHENED"
      -]New value: +[
      +  "CHALLENGER_CHANGED",
      +  "PRICING_MODEL_CHANGED",
      +  "CONSTRAINT_LIFTED",
      +  "CHOICE_DEGRADED",
      +  "NEW_VERSION",
      +  "GAP_RESOLVED",
      +  "CATEGORY_CHANGED",
      +  "DIGEST",
      +  "CHALLENGER_STRENGTHENED",
      +  "PRODUCT_CHANGED"
      +]
    • changedOutput schema / properties / challenger_reason / enum
      Previous value: -[
      -  "not_computed",
      -  "no_criteria",
      -  "no_candidate",
      -  "no_dominant_option",
      -  "no_current_choice",
      -  "category_watch",
      -  null
      -]New value: +[
      +  "not_computed",
      +  "no_criteria",
      +  "no_candidate",
      +  "no_dominant_option",
      +  "no_current_choice",
      +  "category_watch",
      +  null,
      +  "product_watch"
      +]
    • addedOutput schema / properties / target
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "capability_ids": {
      +      "items": {
      +        "maxLength": 160,
      +        "type": "string"
      +      },
      +      "maxItems": 64,
      +      "type": "array",
      +      "uniqueItems": true
      +    },
      +    "kind": {
      +      "const": "product"
      +    },
      +    "solution_id": {
      +      "maxLength": 100,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "kind",
      +    "solution_id",
      +    "capability_ids"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / title
      Previous value: -"HODDS watch (0.6.0)"New value: +"HODDS watch (0.7.0)"
  2. Changed14 schema fields changed
    • changedOutput schema / description
      Previous value: -"A watched need as returned by watch_need, get_watch, set_current_choice and POST/GET/PATCH /api/watches[/{id}]. Self-contained: the alert object is inlined (same shape as hodds-alert.schema.json)."New value: +"Activated/closed watch; API/MCP semantics: public contract §8/§10. Alerts inline, same shape as hodds-alert."
    • changedOutput schema / properties / baseline_request_id / description
      Previous value: -"request_id of the search that deduced process at opening; null when process was given."New value: +"Search request_id that deduced process; null if process supplied."
    • changedOutput schema / properties / challenger / properties / founder_link / description
      Previous value: -"Declared link between the HODDS founder and the solution. Never affects the challenger."New value: +"Declared founder/solution link; no effect on challenger."
    • changedOutput schema / properties / challenger / properties / hodds_status / description
      Previous value: -"Shown as \"Approved by HODDS\" or \"Not yet approved by HODDS\". Never a criterion."New value: +"Approved by HODDS / Not yet approved by HODDS; never a criterion."
    • changedOutput schema / properties / challenger / properties / rules_version / description
      Previous value: -"Identifier of the public rules that computed this value, e.g. ranking-2026-10 (see /rules/)."New value: +"Public computation rules identifier; see /rules/."
    • changedOutput schema / properties / challenger / properties / switch_brief / description
      Previous value: -"Switch brief: deterministic template built from record fields (no language model)."New value: +"Deterministic record-field template; no language model."
    • changedOutput schema / properties / challenger / properties / switch_brief / properties / facts / description
      Previous value: -"Informative facts compared side by side; never criteria. current is null when the watch has no current choice."New value: +"Side-by-side facts, never criteria. current=null without a current choice."
    • changedOutput schema / properties / duplicate / description
      Previous value: -"Only on opening: true when an identical active watch already existed and is returned."New value: +"Opening: existing active watch reused."
    • changedOutput schema / properties / need / description
      Previous value: -"The need in natural language; absent or null for a CATEGORY watch."New value: +"Natural-language need; absent/null for CATEGORY."
    • changedOutput schema / properties / plan / description
      Previous value: -"Plan of the organisation when the watch was opened (FREE in this version)."New value: +"FREE: legacy only; prepaid-v1: PAID. Organisation entitlement: GET /api/plan. No drafts."
    • changedOutput schema / properties / rules_version / description
      Previous value: -"Identifier of the public rules that computed this value, e.g. ranking-2026-10 (see /rules/)."New value: +"Public computation rules identifier; see /rules/."
    • addedOutput schema / properties / status / description
      Added value: +"payment_required returns a DRAFT error, never ACTIVE success."
    • changedOutput schema / properties / summary / description
      Previous value: -"One sentence in English, or in French when the request was in French."New value: +"One English/French sentence, per request."
    • changedOutput schema / title
      Previous value: -"HODDS watch (0.3.0)"New value: +"HODDS watch (0.6.0)"
  3. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: organisation token authentication is required, a missing token yields token_required, the tool returns the watch, and the challenger is recomputed later. It also clarifies that null clears the current choice.

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 three tight sentences with no wasted words. The core operation and clearing behavior are front-loaded, followed by return and authentication details.

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?

Given the annotations, complete schema coverage, and an output schema, the description is sufficiently complete. It covers the mutation behavior, clearing semantics, authentication requirement, error case, and return-side effect without needing to restate return fields.

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 schema already documents all three parameters. The description adds semantic meaning by stating that a solution can be set by id or free name, that free names work for any process, and that null clears the current choice.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: it sets a solution by catalogue id or free name, and null clears it. It is clear what the tool does, though it does not explicitly differentiate itself from siblings such as watch_choice or read_choice.

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?

Usage is implied through the operational details: pass an id or free name to set a choice, or null to clear it. However, it gives no explicit guidance on when to prefer this tool over alternatives like watch_choice or read_choice.

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