Skip to main content
Glama

send_interactive_inputs

Submits a customer's MFA/OTP code to a paused checkout task waiting for interactive input so authentication can continue.

Instructions

Sends input from the customer to a checkout task that is paused and waiting for it (only for tasks created with options.allowInteraction = true). Currently the only supported input is an MFA/OTP code (intent 'mfa'). Ask the customer for the code they received, then submit it here. An OTP can only be submitted once per task.

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": {
      "taskId": "<taskId>",
      "otp": "<otp>"
    },
    "name": "send_interactive_inputs"
  }
}

Input Schema

NameRequiredDescriptionDefault
otpYesThe OTP/MFA code, 4–8 characters
intentNoType of input being sent. Supported: 'mfa'. Default: 'mfa'
taskIdYesID of the checkout task that is waiting for input

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.6

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the task must be paused and waiting, that it must have been created with allowInteraction enabled, that only MFA/OTP input is supported, and the important one-shot constraint that an OTP can only be submitted once per task. It omits what happens on failure (e.g., task no longer waiting, code already used, invalid code), which for an irreversible single-use submission would be worth one more clause.

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?

Four short sentences, front-loaded with the core action and constrained by prerequisites, then the agent-facing workflow, then the one-time-use caveat. No filler or repetition of the title.

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?

For a 3-parameter mutation tool with no annotations and no output schema, the definition covers action, preconditions, the agent's customer-interaction step, and the single-use limit. The remaining shortfall is error/return behavior, which an agent would likely need when the task is no longer awaiting input.

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 coverage is 100%, so the schema already explains taskId, otp (4–8 chars) and the intent enum. The description reinforces that intent currently only supports 'mfa' and that otp is the code the customer received, but adds little syntax or constraint detail beyond the schema. Baseline 3 applies.

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?

Names a specific verb and resource ('Sends input from the customer to a checkout task'), and pins the exact target state ('paused and waiting for it'). This is clearly distinguishable from the sibling tools such as get_checkout or cancel_checkout, which read or terminate rather than supply input.

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?

Gives the precondition for use ('only for tasks created with options.allowInteraction = true') and the only currently valid input kind ('intent mfa'), which effectively defines when the tool applies. It also instructs the agent to ask the customer for the code before calling. It does not name an alternative tool, but no sibling plausibly covers this action, so the gap is minor.

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