Skip to main content
Glama

agent-direct

요청 상태 보기

get_request
Read-onlyIdempotent

agent-direct(에이전트 다이렉트): check whether the provider has answered a request. status: sent (waiting), quoted (price answered), declined, accepted, cancelled, waiting_for_shop (left with leave_request; no matching business yet, relay waiting.note). If quoted, tell the user the price and the provider's note and ask whether to proceed (accept_quote) or not (cancel_request). If still sent, do not call repeatedly; relay waiting.note and ask the user to check again later, and if waiting.slow is true suggest sending the same request to other providers too. If accepted, report progress, payment (how to pay) and fulfillment (for example a tracking number).

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

Input Schema

NameRequiredDescriptionDefault
requestIdYessend_request나 leave_request가 돌려준 requestId

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.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, yet the description still adds substantial behavior: the polling-hazard warning, the `waiting.slow` escalation signal that should trigger recommending other providers, and the meaning of `waiting.note` as user-facing relay text. These are operational traits an agent could not infer from the annotations or schema.

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?

Purpose is front-loaded in the first clause, and nearly every subsequent clause carries actionable state-handling information. It is a dense single block though, mixing status definitions, dialogue instructions, and field names without formatting, which costs some scannability.

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?

For a one-parameter status-check tool with an output schema, the definition covers what matters: every possible status, what to do in each, and when to hand off to sibling tools. The 'agent-direct' prefix is opaque but does not impede correct invocation.

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?

Only one parameter, requestId, and schema coverage is 100% with a description tying it to the requestId returned by send_request/leave_request. The prose references response fields (waiting.note, waiting.slow, progress, payment, fulfillment) rather than adding meaning to the input parameter, so the baseline 3 for high schema coverage applies.

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+resource: 'check whether the provider has answered a request,' then enumerates the full status vocabulary (sent, quoted, declined, accepted, cancelled, waiting_for_shop), which tells an agent exactly what this tool returns. It also links the request lifecycle to sibling tools (leave_request, accept_quote, cancel_request), making it distinguishable from get_requests' plural listing.

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?

Provides explicit branch-by-branch guidance: if quoted, tell the user the price then choose accept_quote or cancel_request; if still sent, do NOT poll repeatedly and instead relay waiting.note with a suggestion to check later; if accepted, report progress/payment/fulfillment. It names the exact alternatives to call in each state and includes an explicit when-not-to-use instruction (no repeated calls).

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