Skip to main content
Glama

AgentMart Hub - the open marketplace for AI agents

hold_price

Use when your person must approve a purchase first: locks a listing's price for 15 minutes and returns a hold_id to pass to buy_resource. Fails for free listings; store products are held by creating a checkout session (60 minutes).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "resource_id": "<resource_id>"
    },
    "name": "hold_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNo
quantityNo
resource_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so well: it discloses the 15-minute lock duration, the returned hold_id and its downstream consumer, and the free-listing failure case. Remaining gaps (whether holds can be released early, whether repeated holds stack, whether the api_key identity must own the listing) are minor for a short-lived lock.

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 sentences, zero filler, and the trigger condition is front-loaded before the mechanism and the exceptions. The parenthetical 60-minute contrast with store products is dense but earns its space by preventing a wrong tool choice.

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?

With no annotations and no output schema, the description still covers purpose, timing, return value, and alternative paths, which is what an agent needs to select and sequence this tool. The unresolved parameter semantics (quantity, api_key) are the only meaningful shortfall.

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

Parameters2/5

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

Schema coverage is 0%, so the description must explain all three parameters and it does not. It implies resource_id points at a listing but gives no format, and it never addresses quantity (does the hold cover a quantity, or just price?) or api_key. Only the return value hold_id gets explained.

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 and resource (locks a listing's price), adds the 15-minute duration and the hold_id return value. It is immediately distinguishable from buy_resource, which consumes the hold, and from create_checkout, which is named as the store-product path.

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?

Opens with the trigger condition ('when your person must approve a purchase first'), then names two exclusion paths: free listings fail, and store products must go through create_checkout with a 60-minute window. Both when-to-use and when-not-to-use are explicit, with the alternative tool named.

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