Skip to main content
Glama

agent-direct

가게를 기다리는 요청 남기기

leave_request

agent-direct(에이전트 다이렉트): when find_services finds no matching business, keep the user's request on the network. The first matching business that joins receives it, and its quote then shows in get_request. Confirm the content with the user first. what: the job in one or two Korean words. region: city and district. details: what a business needs to quote (size, quantity, preferred date), only what the user said, max 300 characters. Never include the user's name, phone, e-mail, messenger ID, links or detailed address; contact details are shared only at accept_quote. Keep the returned requestId (wt_...) and check it with get_request: waiting_for_shop means no business has it yet (relay waiting.note). Kept 14 days. Do not promise a business will join. Withdraw with cancel_request. If a matching business exists this returns an error: use send_request, or if that business already declined or did not answer, pass that requestId in asked to wait for others.

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": {
      "what": "<what>",
      "details": "<details>"
    },
    "name": "leave_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
whatYes맡기려는 일. find_services에 넣었던 말처럼 한두 낱말로. 예: '피아노 조율'
askedNo같은 일로 이미 가게에 보낸 요청의 requestId들(거절했거나 답이 없는 것). 이 가게들은 빼고 다른 가게를 기다려요. 없으면 비워요
regionNo지역 이름. 시·군·구까지. 예: '제주 서귀포시'. 지역과 상관없는 일이면 비워요
detailsYes가게가 금액을 답하는 데 필요한 내용. 300자까지. 사용자가 말한 것만. 연락처와 상세 주소는 넣지 마세요. 예: '업라이트 피아노 1대, 3년 동안 조율 안 함, 주말 희망'

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.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and idempotentHint=false. The description adds real context beyond that: 14-day retention, the waiting_for_shop status and relayed `waiting.note`, contact details shared only at accept_quote, and a warning not to promise a business will join. It does not explain whether retrying with identical content creates duplicates, which matters given idempotentHint=false.

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?

Front-loads the trigger and the outcome, then uses inline backtick labels for each parameter, which scans well. It is dense but slightly crowded with meta-instructions (confirm content, do not promise a business will join) mixed into the same block.

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?

Output schema exists so return values need not be explained, yet the description still tells the agent to keep the wt_ requestId and check waiting_for_shop via get_request. Complete enough for a non-idempotent, open-world write tool, with only the duplicate-submission case unaddressed.

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?

Schema coverage is 100%, so baseline would be 3, but the description adds cross-parameter meaning: `what` mirrors what was passed to find_services, `asked` should hold requestIds of businesses that declined or went silent so they are excluded, and `details` is capped at 300 characters with a PII prohibition. That is genuine semantic guidance the schema's per-field descriptions only partially convey.

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 (leave/waiting request on the network) and immediately ties it to a trigger condition: find_services found no matching business. It distinguishes itself from send_request and cancel_request by naming when each applies.

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?

Explicitly names alternatives and conditions: if a matching business exists this errors and you should use send_request, or pass the declined/unanswered requestId in `asked`. Also says withdraw via cancel_request and check status via get_request.

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