Skip to main content
Glama

Zinvyl Marketplace Agent Gateway

Prepare an authorized funding route

prepare_purchase_route
Read-onlyIdempotent

Use only after selecting an offer and confirming explicit purchasing authority. Returns the purchase-intent schema and payment-route API endpoint; it does not create, fund, verify, or start an order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offer_idYesExact published offer ID returned by list_offers or qualify_task, including zinvyl.freight.workflow-audit.v1, zinvyl.freight.full-workflow-audit.v1, zinvyl.api.failure-triage.v1, and zinvyl.api.workflow-failure-rescue.v1.
human_authorized_to_fundYesTrue only when an authorized representative approved the request or an authorized purchasing agent is acting within explicit delegated authority for this offer, amount, and material limits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / offer_id / enum
      Previous value: -[
      -  "zinvyl.venture.evidence-brief.v1",
      -  "zinvyl.venture.prototype-scope.v1",
      -  "zinvyl.freight.workflow-audit.v1",
      -  "zinvyl.api.workflow-failure-rescue.v1",
      -  "zinvyl.api.failure-triage.v1",
      -  "zinvyl.freight.full-workflow-audit.v1"
      -]New value: +[
      +  "zinvyl.venture.evidence-brief.v1",
      +  "zinvyl.venture.prototype-scope.v1",
      +  "zinvyl.freight.workflow-audit.v1",
      +  "zinvyl.api.workflow-failure-rescue.v1",
      +  "zinvyl.api.failure-triage.v1",
      +  "zinvyl.freight.full-workflow-audit.v1",
      +  "zinvyl.content.ai-marketing-pilot.v1"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / offer_id / enum
      Previous value: -[
      -  "zinvyl.freight.workflow-audit.v1",
      -  "zinvyl.api.workflow-failure-rescue.v1",
      -  "zinvyl.api.failure-triage.v1",
      -  "zinvyl.freight.full-workflow-audit.v1"
      -]New value: +[
      +  "zinvyl.venture.evidence-brief.v1",
      +  "zinvyl.venture.prototype-scope.v1",
      +  "zinvyl.freight.workflow-audit.v1",
      +  "zinvyl.api.workflow-failure-rescue.v1",
      +  "zinvyl.api.failure-triage.v1",
      +  "zinvyl.freight.full-workflow-audit.v1"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / offer_id / description
      Previous value: -"Exact published offer ID returned by list_offers or qualify_task: zinvyl.freight.workflow-audit.v1 or zinvyl.api.workflow-failure-rescue.v1."New value: +"Exact published offer ID returned by list_offers or qualify_task, including zinvyl.freight.workflow-audit.v1, zinvyl.freight.full-workflow-audit.v1, zinvyl.api.failure-triage.v1, and zinvyl.api.workflow-failure-rescue.v1."
    • changedInput schema / properties / offer_id / enum
      Previous value: -[
      -  "zinvyl.freight.workflow-audit.v1",
      -  "zinvyl.api.workflow-failure-rescue.v1"
      -]New value: +[
      +  "zinvyl.freight.workflow-audit.v1",
      +  "zinvyl.api.workflow-failure-rescue.v1",
      +  "zinvyl.api.failure-triage.v1",
      +  "zinvyl.freight.full-workflow-audit.v1"
      +]
  4. Changed1 schema field changed
    • addedInput schema / properties / offer_id / description
      Added value: +"Exact published offer ID returned by list_offers or qualify_task: zinvyl.freight.workflow-audit.v1 or zinvyl.api.workflow-failure-rescue.v1."
  5. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=true, idempotentHint=true, openWorldHint=true. The description adds the crucial negative boundary: it does not create, fund, verify, or start an order, and returns schema + endpoint only. This is valuable context beyond annotations, though return-format details (shape, endpoint format) are not described.

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?

Two tightly packed sentences, both front-loaded with the precondition and the negative scope. Every clause (authority requirement, return content, exclusions) earns its place.

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 only 2 required params, full schema coverage, and existing annotations, the description covers usage conditions, exclusions, and return intent adequately. It could add a note on what 'prepare' output looks like in practice, but the core call behavior is 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 coverage is 100%, so both parameters are fully documented in the schema itself. The description adds no additional parameter-level detail (e.g., which offer IDs are valid or the exact meaning of authorization), so baseline 3 is appropriate.

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?

States a specific verb (prepare) and resource (authorized funding route), and explicitly enumerates what it is not (does not create, fund, verify, or start an order). This cleanly distinguishes it from create_purchase_intent and buy_service among the siblings.

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?

Gives an explicit precondition sequence: 'Use only after selecting an offer and confirming explicit purchasing authority.' This tells the agent exactly when in the workflow the tool applies, leaving nothing to inference.

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