Skip to main content
Glama

Read the site's messages

get_messages
Read-onlyIdempotent

Use when the user asks for their messages, enquiries, orders or bookings: what visitors sent through the site's forms and Parts (shop orders and questions, quote requests, bookings, event sign-ups, reviews), newest first, as in Ginta's Messages. Visitors' emails, phone numbers and addresses are masked; get_message shows one message in full. Marking them read or deleting a form message: manage_site. Acting on an order, booking or sign-up: manage_module.

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": {
      "site_id": "<site_id>"
    },
    "name": "get_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many (default 50).
site_idYesThe site id: the first part of the site URL, e.g. "bella-roma" for https://bella-roma.ginta.page (see list_sites).

Output Schema

NameRequiredDescriptionDefault
textYesThe answer in words, the same as the text content: read it (for get_guide the whole guide, for get_site the files' contents).
totalYesAll messages and Part entries of the site.
site_idYesThe site id.
submissionsYesMessages, newest first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / submissions / items / properties / kind / description
      Previous value: -"message = a form message; order/question = the Shop, quote = Quote requests, booking = Bookings, signup = Events."New value: +"message = a form message; order/question = the Shop, quote = Quote requests, booking = Bookings, signup = Events, review = Reviews (waiting for approval)."
    • changedOutput schema / properties / submissions / items / properties / kind / enum
      Previous value: -[
      -  "message",
      -  "order",
      -  "question",
      -  "quote",
      -  "booking",
      -  "signup"
      -]New value: +[
      +  "message",
      +  "order",
      +  "question",
      +  "quote",
      +  "booking",
      +  "signup",
      +  "review"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / text
      Added value: +{
      +  "description": "The answer in words, the same as the text content: read it (for get_guide the whole guide, for get_site the files' contents).",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "site_id",
      -  "total",
      -  "submissions"
      -]New value: +[
      +  "site_id",
      +  "total",
      +  "submissions",
      +  "text"
      +]
  3. Changed3 schema fields changed
    • addedOutput schema / properties / submissions / items / properties / fields / description
      Added value: +"What was sent (labels → values); emails, phone numbers and addresses masked."
    • changedOutput schema / properties / submissions / items / properties / part / description
      Previous value: -"The Part the entry lives in (a manage_module module id)."New value: +"The Part the entry lives in (its module id)."
    • changedOutput schema / properties / submissions / items / properties / status / description
      Previous value: -"paid, done, cancelled, refunded, quoted, won, lost, waitlist or not_paid; absent = new or confirmed."New value: +"paid, done, cancelled, refunded, quoted, won, lost, waitlist, not_paid, or whatsapp (an order sent on WhatsApp, not paid); absent = new or confirmed."
  4. Changed7 schema fields changed
    • addedOutput schema / properties / submissions / items / properties / kind
      Added value: +{
      +  "description": "message = a form message; order/question = the Shop, quote = Quote requests, booking = Bookings, signup = Events.",
      +  "enum": [
      +    "message",
      +    "order",
      +    "question",
      +    "quote",
      +    "booking",
      +    "signup"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / submissions / items / properties / link
      Added value: +{
      +  "description": "Where the owner opens it in Ginta (path on ginta.app).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / submissions / items / properties / number
      Added value: +{
      +  "description": "Order or quote request number.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / submissions / items / properties / part
      Added value: +{
      +  "description": "The Part the entry lives in (a manage_module module id).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / submissions / items / properties / status
      Added value: +{
      +  "description": "paid, done, cancelled, refunded, quoted, won, lost, waitlist or not_paid; absent = new or confirmed.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / submissions / items / required
      Previous value: -[
      -  "id",
      -  "received_at",
      -  "unread",
      -  "fields"
      -]New value: +[
      +  "id",
      +  "kind",
      +  "received_at",
      +  "unread",
      +  "fields"
      +]
    • changedOutput schema / properties / total / description
      Previous value: -"All messages of the site."New value: +"All messages and Part entries of the site."
  5. Changed2 schema fields changed
    • addedOutput schema / properties / submissions / items / properties / emailed
      Added value: +{
      +  "const": false,
      +  "description": "Present when the email about it didn't go out (it's still saved).",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / submissions / items / properties / not_emailed
      Added value: +{
      +  "description": "Why: the month's emails used up, the website's form emails for today, or sending failed.",
      +  "enum": [
      +    "month",
      +    "day",
      +    "failed"
      +  ],
      +  "type": "string"
      +}
  6. 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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely new behavior: results are ordered newest first and visitor emails, phone numbers and addresses are masked in the output. It stops short of describing pagination or how to retrieve further pages, which keeps it below 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 tight sentences, each doing work: trigger plus resource list first, behavior second, routing to alternatives last. No filler, no restatement of the title, and the parenthetical enumeration earns its space by clarifying the ambiguous term 'Parts'.

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?

With only two parameters, full schema coverage, an output schema, and a complete annotation set, the description covers everything an agent needs to select and call the tool correctly — scope, ordering, masking, and where to go for mutations. The only gap is what happens when more messages exist than the limit allows.

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 description coverage is 100%, with site_id documented down to the URL-prefix example and limit bounded 1–200 with a default of 50. The description adds only the newest-first ordering, which is not a parameter but shapes expectations; it does not expand on limit or site_id beyond the schema. Baseline 3 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?

The description states a specific verb and resource — reads what visitors sent through the site's forms and Parts — and enumerates concrete subtypes (shop orders, quote requests, bookings, event sign-ups, reviews). It also distinguishes the tool from get_message (single message in full), manage_site and manage_module, so an agent can pick it without opening sibling schemas.

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?

Opens with an explicit trigger ('Use when the user asks for their messages, enquiries, orders or bookings') and then names the alternatives with the exact conditions that select them: get_message for one message in full, manage_site for marking read or deleting, manage_module for acting on an order or booking. When-to-use, when-not-to-use, and routing are all present.

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