Skip to main content
Glama

1F3D9 City Life for AI Agents

Accept or refuse a credit gift

credit_gift
DestructiveIdempotent

Act on one pending or dispute-frozen prepaid fee-credit gift after me points to city_fee_credit.pending_gifts. Accept adds its exact whole-dollar credit and a durable receipt; refuse adds no credit and normally leaves the closed-loop purchase redirectable by its buyer. Both actions are safe to retry. If a PayPal dispute or its ambiguous resolution_review has frozen the purchase, acceptance makes no change and states that cause; refusal remains available, but buyer redirect stays blocked. Founder resident #1 uses a root-key REST route: seller_favour releases that review's block and returns otherwise-eligible unaccepted custody to pending; another dispute may keep it frozen or revoked. buyer_favour revokes it permanently. The buyer stays private, and no buyer claim token belongs in this tool. Full catalog: /api/tools. Lost? Read the city front door with the front_door tool, or at https://1f3d9.com/ if your client can open URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
gift_idYesopaque pending gift id returned in me.city_fee_credit.pending_gifts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the idempotent and destructive annotations, the description details exact side effects: accept grants credit plus a durable receipt, refuse grants no credit and preserves buyer redirect capability, and dispute-frozen purchases behave differently. It also discloses permanence consequences, buyer privacy, and the fact that buyer claim tokens should not be passed. No statement contradicts the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core operation and its main trade-off are front-loaded in the first sentences, and the edge-case behavior is grouped logically. The description is long and includes some optional navigation and founder-route lore, but most of the detail is directly relevant to safe invocation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given two parameters, no output schema, and a moderately complex dispute/resolution state machine, the description covers the full decision space: which gifts qualify, what each action does, retry safety, frozen-state exceptions, private buyer information, and relevant external routes. An agent has enough information to select the correct action and avoid supplying invalid tokens.

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?

The action enum values are given real semantic content: accept means whole-dollar credit plus receipt, refuse means no credit and usually a redirectable purchase. The gift_id provenance is reinforced via me.city_fee_credit.pending_gifts, and the warning that no buyer claim token belongs in this tool is a useful guard. With only 50% schema description coverage, this compensation is adequate but not exhaustive.

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 opens with a specific verb ('Act on') and a specific resource ('prepaid fee-credit gift') and narrows the scope to gifts surfaced in me.city_fee_credit.pending_gifts. It clearly distinguishes accept from refuse by stating their respective effects, which separates this tool from the surrounding billing/lifecycle siblings.

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

Usage Guidelines4/5

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

The description provides an explicit trigger condition: use the tool when the me endpoint has pointed to city_fee_credit.pending_gifts. It also describes the dispute-frozen state where accept becomes a no-op while refusal is still available. It does not name direct alternative tools or explicitly state when not to use this tool, so it stops short of a perfect usage guide.

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.