Skip to main content
Glama

issue_shipping_confirmation_token

Issue a single-use token after the user confirms shipping details and approves saving the address. Required by fulfillment_order to place an order.

Instructions

Issue a single-use token after the user confirms shipping details.

        Call this only after showing the normalized contact/shipping address
        and selected shipping option to the user, asking whether Kiln should
        save the address as a profile, and receiving approval.
        ``fulfillment_order`` refuses to place an order without this token.

        Args:
            quote_id: Quote ID from ``fulfillment_quote``.
            shipping_option_id: Shipping option ID selected from the quote.
            shipping_address: Explicit full shipping address.
            shipping_profile_name: Saved profile name to use instead of
                passing ``shipping_address``.
            save_profile_decision: Required when ``shipping_address`` is
                provided directly. Pass ``"save"`` only after the user says
                yes; pass ``"do_not_save"`` after the user says no.
            save_profile_name: Profile name to save when
                ``save_profile_decision`` is ``"save"``.
            overwrite_saved_profile: Replace an existing profile with the
                same name when saving.
            set_default_profile: Make the saved profile the default.
            ttl_seconds: Token lifetime, default 10 minutes.
        

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quote_idYes
ttl_secondsNo
shipping_addressNo
save_profile_nameNo
shipping_option_idNo
set_default_profileNo
save_profile_decisionNo
shipping_profile_nameNo
overwrite_saved_profileNo
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses the single-use token behavior and dependencies between parameters (e.g., save_profile_decision required when shipping_address is provided). However, it does not explicitly state whether the tool has destructive or irreversible effects, or error conditions.

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 well-structured as a docstring with a clear purpose statement and parameter list. It front-loads the key usage instruction and uses concise, direct language. Every sentence adds value, and the length is justified by the number of parameters.

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?

Given the tool has 9 parameters, no output schema, and no annotations, the description is quite thorough. It covers parameter interactions and the workflow context (post-confirmation). However, it lacks details about the return value (e.g., token string) and potential error conditions, which could affect agent decision-making.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, but the description adds detailed semantics for nearly all 9 parameters. It explains conditions like 'Required when shipping_address is provided' for save_profile_decision, and provides context for each parameter (e.g., default TTL, saved profile usage). This greatly aids an AI agent in correct invocation.

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 'Issue a single-use token after the user confirms shipping details,' providing a specific verb and resource. It distinguishes from sibling tools like issue_preview_token by focusing on shipping confirmation.

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?

Explicitly states when to call: 'Call this only after showing the normalized contact/shipping address and selected shipping option to the user... and receiving approval.' It also explains the consequence of not calling it: 'fulfillment_order refuses to place an order without this token.'

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/codeofaxel/kiln'

If you have feedback or need assistance with the MCP directory API, please join our Discord server