Skip to main content
Glama

reeflip

Get an enquiry

get_enquiry
Read-onlyIdempotent

One enquiry with its lines, its status history and the business's note. Each line is a copy of the product as it was asked for; product_id is null once the product is deleted. Reading it does not mark it read.

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": {
      "enquiry_id": "<enquiry_id>"
    },
    "name": "get_enquiry"
  }
}

Input Schema

NameRequiredDescriptionDefault
enquiry_idYesThe enquiry's id.

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
noteYesThe business's own note; the buyer never sees it.
readYes
emailYesEmpty when not given; at least one of email, phone and whatsapp is.
linesYes
phoneYes
numberYes
statusYesWhere the enquiry stands.
companyYes
countryYesAn ISO 3166-1 alpha-2 code; empty when not given.
messageYes
whatsappYes
created_atYes
updated_atYes
status_historyYesEvery status it has had, oldest first; the first is new.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description nonetheless adds a non-obvious behavioral fact — 'Reading it does not mark it read' — which an agent could not derive from the annotations, plus the stale-reference nuance that product_id becomes null after product deletion. Permissions or visibility scoping are still unstated, keeping it short of a 5.

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 compact sentences, front-loaded with what is returned and followed by the two facts that actually change agent behavior (line snapshot semantics, read-state side effect). Nothing is redundant with the title or schema.

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 shape need not be spelled out, and the description covers the parts that schema cannot convey — snapshot line copies and read-state preservation. It is a read-only single-parameter tool, so little else is required; only access scoping is missing.

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 with 100% schema description coverage, so the schema already defines enquiry_id as the enquiry's UUID. The description adds no format, sourcing, or error semantics beyond that, which is the expected baseline when the schema does the work.

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?

States a specific verb-and-resource read ('One enquiry') and enumerates what comes back: lines, status history, and the business's note. That distinguishes it from the list-style siblings (show_enquiries, app_list_enquiries) by implication, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is only implied — the required enquiry_id makes clear this is a single-record fetch, so an agent can infer it should be used when it already has an id. There is no explicit statement of when to prefer this over app_list_enquiries/show_enquiries, nor any precondition such as the enquiry needing to belong to the current business.

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