Skip to main content
Glama

kia_send_otp

Destructive

Send a one-time passcode to a Kia owner's SMS or email to verify identity and complete multi-factor authentication after login.

Instructions

Step 2 of the Kia MFA bootstrap (cmm/sendOTP): deliver a one-time passcode to the account by SMS or email. Takes the otpKey and xid from kia_start_login — it cannot run without them, which is why it has no separate confirmation gate. Ask the user which channel they want (kia_start_login reports the masked destinations Kia has on file). The passcode expires in about two minutes; expiresAt reports when.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xidYesThe `xid` returned by kia_start_login. Sent with every OTP call.
otpKeyYesThe `otpKey` returned by kia_start_login.
notifyTypeYesDelivery channel. Ask the user; do not guess which destination they can read right now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.9.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

The description adds behavioral context beyond annotations: it notes the passcode expires in about two minutes and that expiresAt reports when, and that it lacks a separate confirmation gate. The annotation destructiveHint=true indicates potential side effects, but the description does not contradict this. However, it doesn't elaborate on the destructive nature (e.g., sending SMS may incur costs), so minor gap remains.

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 concise but rich: it conveys the step, dependencies, user interaction, expiration, and reporting in four sentences. It is front-loaded with the purpose and dependency, making it easy to scan. Every sentence adds value, and there is no fluff.

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?

The description covers the key aspects: prerequisites (otpKey, xid), user interaction (ask channel), expiration, and result (expiresAt). With no output schema, it hints at the response containing expiresAt, which is useful. It could mention error handling or what happens if the OTP is not sent, but for a step in a multi-step flow, it's sufficiently complete.

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 description coverage is 100%, with each parameter already described. The tool description reinforces the dependency on otpKey and xid from kia_start_login, adding slightly more context about their source. For notifyType, it reiterates the instruction to ask the user, aligning with the schema. Since the schema is thorough, the added value is modest but not redundant.

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 clearly states it is 'Step 2 of the Kia MFA bootstrap (cmm/sendOTP)' and that it delivers a one-time passcode via SMS or email. It distinguishes itself from kia_start_login and kia_verify_otp by explicitly referencing the flow order, making its purpose unambiguous.

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

Usage Guidelines5/5

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

The description explicitly says it 'cannot run without' the otpKey and xid from kia_start_login, making the dependency clear. It also instructs the agent to ask the user which channel to use and not to guess, which is crucial for correct usage. It does not explicitly name alternatives, but given the MFA bootstrap context, it's evident when to use this tool.

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