Skip to main content
Glama

mt_shopping_issue_vc

Issue cryptographically signed verifiable credentials authorizing AI shopping agents to purchase on behalf of humans with enforced spend limits and category controls.

Instructions

Issue a BuyerAgentCredential (W3C Verifiable Credential) for a shopping agent.

Creates a cryptographically signed credential that authorizes an AI agent to make purchases on behalf of a human, with enforced spend limits.

Args: agent_did: DID of the shopping agent (e.g. "did:moltrust:agent123") human_did: DID of the authorizing human (e.g. "did:moltrust:human456") spend_limit: Maximum spend amount per transaction currency: Currency code (e.g. "USDC", "USD") categories: Comma-separated allowed categories (e.g. "electronics,books") validity_days: Number of days the credential is valid (default 30)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_didYes
human_didYes
spend_limitYes
currencyYes
categoriesYes
validity_daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Adds useful behavioral details (cryptographically signed, enforced spend limits, validity period) but omits side effects like storage location, revocation capability, or computational costs.

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?

Well-structured with front-loaded purpose statement followed by behavioral details and structured Args section; no redundant or filler text.

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?

Thoroughly documents all inputs compensating for empty schema; output schema exists so return values need not be described; minor gap regarding credential lifecycle relationship to verification tools.

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?

Comprehensive Args section compensates perfectly for 0% schema description coverage by providing semantics and examples for all 6 parameters including default value for validity_days.

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?

Specific verb (Issue) + resource (BuyerAgentCredential/W3C Verifiable Credential) and distinguishes from siblings (shopping-specific vs travel/skill, and issuing vs verify/info variants).

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?

Provides implied usage context (authorizing purchases) but lacks explicit guidance on when to use vs alternatives like mt_shopping_verify or mt_shopping_info.

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/MoltyCel/mol-trust'

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