Skip to content

Client scenario elicitation-sep1034-client-defaults (2025-11-25) elicits a client that did not declare the elicitation capability #584

Open

Description

@webagil-kevin

Suite version: 0.2.0-alpha.12, client --scenario elicitation-sep1034-client-defaults --spec-version 2025-11-25

What happens. The scenario's server (src/scenarios/client/elicitation-defaults.ts) sends elicitation/create from its tools/call handler without looking at the capabilities the client declared in initialize. A client that does not declare elicitation answers, as the spec expects, with -32601, and the scenario fails all six checks:

Failed Checks:
  - ClientElicitationSEP1034General: Client handles elicitation with defaults
    Error: Elicitation failed: MCP error -32601: Client does not handle "elicitation/create" requests.
  - clientelicitationsep1034stringdefault: Server applies default default for elicitation
  - ... (integer, number, enum, boolean: same)
❌ OVERALL: FAILED

Why this looks like a scenario issue. In 2025-11-25:

  • client/elicitation: "Clients that support elicitation MUST declare the elicitation capability during initialization." Elicitation is optional for a client.
  • lifecycle, operation phase: both parties MUST "only use capabilities that were successfully negotiated".

A client may legitimately decline to offer elicitation. For example, it may serve elicitation through the input_required round trip of the later revision, but not as a synchronous server→client request held open during tools/call. Such a client should get not applicable for this scenario, not FAILURE. As it stands, it can only keep the scenario in its expected-failures file, so it can never report an empty baseline for 2025-11-25. requirements/2025-11-25.yaml lists the scenario as required.

Suggestion. Read the client's capabilities from initialize. When elicitation (or elicitation.form) is absent, report the scenario's checks as SKIPPED, or not applicable, and do not send elicitation/create. A client that declares the capability and then fails to apply defaults would still fail as today.

This is the client-side counterpart of #516, which asks the same capability gating for server scenarios. #557 reports a different failure of the same scenario: the request is never delivered. This one is about clients that never asked for it.

Activity

  1. jstar0 commented on Nov 25, 2026

    @jstar0
    Contributor

    This is addressed in #593: the scenario's mock server now reads the settled client capabilities per session and skips the form-mode checks (reporting them as inapplicable rather than failing) when the client did not declare form-mode elicitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions