Skip to main content
Glama

agent-direct

돈을 보냈다고 알리기

report_payment
Idempotent

agent-direct(에이전트 다이렉트): tell the provider that the user has already paid them directly for an accepted request, so the owner can check. This tool does not move money. Call it only after the user says they paid; never assume. progress becomes payment_reported, then paid once the owner confirms.

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": {
      "requestId": "<requestId>"
    },
    "name": "report_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestIdYes

Output Schema

NameRequiredDescriptionDefault
quoteYes
actionYes
noticeYes
ratingYes받았다고 확인하면서 사용자가 남긴 별점 (1~5)
statusYeswaiting_for_shop은 맞는 가게가 없어 맡아 둔 요청이에요. 맞는 가게가 등록하면 sent로 바뀌어요
answersYes
paymentYes어디로 얼마를 보내는지. 수락한 뒤에만 채워져요. null이면 공급자가 연락해서 직접 안내해요
waitingNo답을 기다리는 동안(status=sent)과 가게를 기다리는 동안(status=waiting_for_shop)에만 채워져요
progressYes수락한 뒤의 진행. awaiting_payment(사용자가 아직 안 보냄), payment_reported(보냈다고 알림, 공급자 확인 전), paid(공급자가 입금 확인), fulfilled(공급자가 보냈거나 일을 마침), received(사용자가 받았다고 확인)
createdAtYes
requestIdYes
attachmentsYes사진·파일 칸에 사용자가 붙인 파일. 사용자 화면에 이미 보여요
declineNoteYes공급자가 거절하면서 남긴 말. 있으면 사용자에게 그대로 전해 주세요
fulfillmentYes
respondedAtYes
providerNameYesstatus가 waiting_for_shop이면 아직 가게가 없어서 비어 있어요
providerPhoneYes공급자 전화번호. 사용자가 수락한 뒤에만 채워져요

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare write, non-destructive, idempotent, open-world, so the description's real contribution is the lifecycle it triggers: progress becomes payment_reported, and paid only after the owner confirms. That is meaningful context beyond the annotations, and it is consistent with readOnlyHint=false and destructiveHint=false. It stops short of stating permission requirements or what happens on a repeated report despite idempotentHint=true.

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?

Three tight sentences, front-loaded with what the tool does, followed by the negative scope ('does not move money'), then the precondition and the resulting state sequence. No sentence is filler.

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?

An output schema exists, so return values need no explanation, and the description covers scope, precondition, and state outcome for a one-parameter tool. Only the requestId parameter's semantics go undocumented, which is the one remaining gap.

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 coverage is 0% for the single requestId parameter, so the description would need to carry its meaning and does not mention it at all. The parameter is a self-evident identifier, which keeps this from being a clear failure, but a sentence tying it to the accepted request would have removed the last ambiguity.

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 (tell the provider the user has paid, for an accepted request) and immediately delimits it with 'This tool does not move money,' distinguishing it from any actual payment tool. The 'agent-direct' label plus the request-scoped framing separates it from siblings like confirm_request_received or accept_quote.

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?

Gives an explicit precondition — 'Call it only after the user says they paid; never assume' — which is exactly the guard an agent needs for a state-changing report. It also implies the request must already be accepted, narrowing the eligible set further.

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