Skip to main content
Glama

build_purchase_request

Read-onlyIdempotent

Build a ready-to-send InstaVeil x402 POST request for one paid product so an autonomous agent can purchase with minimal integration work.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoRequested answer language for Veil Lens
questionNoResearch question for Veil Lens
usernameNoOne public Instagram username without @
usernamesNoOne to three public Instagram usernames without @
product_idYesInstaVeil x402 product identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "product_id": "profile-snapshot",
      +    "username": "instagram"
      +  },
      +  {
      +    "product_id": "creator-compare",
      +    "usernames": [
      +      "instagram",
      +      "natgeo"
      +    ]
      +  }
      +]
    • addedInput schema / properties / language / description
      Added value: +"Requested answer language for Veil Lens"
    • addedInput schema / properties / question / description
      Added value: +"Research question for Veil Lens"
    • addedInput schema / properties / username / description
      Added value: +"One public Instagram username without @"
    • addedInput schema / properties / usernames / description
      Added value: +"One to three public Instagram usernames without @"
  2. Changed1 schema field changed
    • changedInput schema / properties / product_id / enum
      Previous value: -[
      -  "profile-snapshot",
      -  "story-snapshot",
      -  "profile-intelligence",
      -  "veil-lens"
      -]New value: +[
      +  "profile-snapshot",
      +  "story-snapshot",
      +  "profile-intelligence",
      +  "creator-compare",
      +  "veil-lens"
      +]
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, covering the safety profile. The description adds output form ('ready-to-send POST request') and scope ('one paid product'), but does not disclose auth needs, rate limits, or the request contents, so it adds moderate value beyond annotations.

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?

A single, front-loaded sentence that states the action and purpose with no wasted words. It is appropriately sized for a tool of this simplicity.

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 schema is rich with examples and 100% parameter descriptions, and annotations cover safety. The description supplies the output format context ('ready-to-send POST request'). Minor gap: it does not clarify which parameters are required for which product_id values, but the schema examples compensate.

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%, so the schema already documents all five parameters thoroughly. The description adds no parameter-specific detail beyond 'one paid product' hinting at product_id, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb 'Build' and resource 'ready-to-send InstaVeil x402 POST request for one paid product'. This distinguishes it from siblings like get_purchase_instructions (which likely provides instructions rather than constructing a request), but no sibling is explicitly named for differentiation.

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

Usage Guidelines2/5

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

The description explains why the tool exists ('so an autonomous agent can purchase') but gives no when-to-use guidance, no prerequisites, and no alternatives. It does not tell an agent when to call this instead of get_purchase_instructions or get_product.

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