Skip to main content
Glama

Google AP2 Checkout/Payment Mandate (VDC) Builder & Validator

build_google_ap2_mandate
Read-onlyIdempotent

Build or validate a Google AP2 Checkout/Payment Mandate VDC according to the external AP2 spec. The interactive tool runs client-side, ensuring zero PII and no network activity.

Instructions

Build or validate a Google AP2 Checkout/Payment Mandate VDC (Open/Closed). Targets the external AP2 spec, not the AINumbers Policy Mandate. Renders the interactive AINumbers tool as a widget; inputs are applied via the AIN Bridge and the tool runs client-side (zero PII, zero network).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsNoMap of tool input element IDs to values (see manifest input_schema). Applied via AIN Bridge prefill.
Behavior4/5

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

The descriptions adds context beyond annotations: it states the tool runs client-side, zero PII, zero network, and inputs are applied via AIN Bridge. The annotations already declare readOnlyHint, destructiveHint, and idempotentHint, so the description provides valuable operational details without contradiction.

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 three sentences, front-loaded with the main action, and every sentence adds value. No redundant or irrelevant information.

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 single parameter and presence of annotations, the description covers the tool's operation well. It explains the scope, the rendering behavior, and the parameter semantics. Minor missing context on 'Open/Closed' VDC types, but overall complete.

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

Parameters4/5

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

With 100% schema coverage, the baseline is 3. The description adds meaning by explaining that the 'inputs' parameter is a map of tool input element IDs to values, applied via AIN Bridge prefill. This clarifies the usage beyond the schema's brief description.

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 the tool builds or validates a Google AP2 Checkout/Payment Mandate VDC and distinguishes it from the AINumbers Policy Mandate. It specifies the target (external AP2 spec) and mentions rendering the interactive AINumbers tool, providing a specific verb+resource combination.

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

Usage Guidelines3/5

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

The description mentions targeting the external AP2 spec and not the AINumbers Policy Mandate, giving some guidance on when to use. However, it does not explicitly exclude alternatives or compare with sibling tools like 'validate_ap2_mcp_policy' or 'ap2_aml_mandate_builder', leaving usage context implied rather than explicit.

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/PostOakLabs/ainumbers-mcp-apps'

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