Skip to main content
Glama

agent-direct

요청 거두기

cancel_request
DestructiveIdempotent

agent-direct(에이전트 다이렉트): withdraw a request the user no longer wants. Works only while status is sent, quoted or waiting_for_shop. If the user sent to several providers and accepted one, withdraw the others so those owners do not waste effort. An accepted request cannot be withdrawn; tell the user to call the provider instead.

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": "cancel_request"
  }
}

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.1/5.0
Behavior4/5

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

Annotations already declare destructive=true, readOnly=false and idempotent=true, so the safety profile is known; the description adds the non-obvious state preconditions that gate success and the cross-party side effect ('those owners do not waste effort'). It stops short of saying whether the withdrawal is permanent or how other providers are notified.

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?

Four short sentences, front-loaded with the action and the eligibility gate before the edge case. The bilingual title prefix 'agent-direct(에이전트 다이렉트)' adds little for an agent already told the tool name.

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?

For a destructive single-parameter mutation with an output schema available, the definition covers eligibility, the happy path, and the failure path, so return-value behavior need not be restated. The remaining gap is whether cancellation is reversible and what happens to the request record afterwards.

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?

There is a single parameter at 0% schema description coverage, so the schema contributes nothing beyond the name 'requestId'. The description never explains what identifier to supply, though the status-gating sentence implicitly narrows which request is eligible.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('withdraw a request') plus a scope marker ('agent-direct'), which is far more than a restatement of the name/title. It does not explicitly name a sibling tool it should be preferred over, so the differentiation is by state semantics rather than by direct contrast.

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?

It gives explicit eligibility conditions ('Works only while status is sent, quoted or waiting_for_shop'), an explicit when-to-use scenario ('user sent to several providers and accepted one, withdraw the others'), and an explicit when-not with a fallback action ('An accepted request cannot be withdrawn; tell the user to call the provider instead').

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