Skip to main content
Glama

Wyślij zapytanie do Biura HELP

submit_question
Destructive

Dostępne wyłącznie dla widżetu MCP Apps, nigdy do samodzielnego wywołania przez model. W fazie „preview” waliduje draft, tworzy krótkotrwałe jednorazowe potwierdzenie powiązane z jego HMAC i zwraca identyfikator; nie wysyła e-maila. Widżet pokazuje dokładnego odbiorcę i payload, a po świadomym potwierdzeniu użytkownika wywołuje fazę „submit” z tym identyfikatorem. Serwer ponownie waliduje zgodność payloadu, ogranicza częstotliwość i deduplikuje zgłoszenia. SMTP jest wyłączone domyślnie; wynik „accepted” oznacza przyjęcie przez dostawcę, nie dostarczenie. Nie przekazuj transcriptu ani danych spoza zatwierdzonego formularza.

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": {
      "scenario": "<scenario>",
      "businessForm": "<businessForm>",
      "city": "<city>",
      "serviceScope": "<serviceScope>",
      "documentCount": "<documentCount>",
      "startDate": "<startDate>",
      "changeReason": "<changeReason>",
      "topic": "<topic>",
      "description": "<description>",
      "contactName": "<contactName>",
      "replyEmail": "<replyEmail>",
      "consent": "<consent>",
      "confirmationId": "<confirmationId>",
      "phase": "<phase>",
      "draftCommitment": "<draftCommitment>",
      "commitmentSalt": "<commitmentSalt>"
    },
    "name": "submit_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesMiasto prowadzenia działalności.
phaseYesFaza „preview” do utworzenia jednorazowego potwierdzenia bez wysyłki albo „submit” po wyraźnej zgodzie użytkownika.
topicYesTemat widoczny w zatwierdzonym podglądzie.
consentYesMusi być true wyłącznie po świadomym potwierdzeniu użytkownika w widżecie.
scenarioYesScenariusz: „search” albo „change”.
startDateYesOczekiwany termin rozpoczęcia obsługi.
replyEmailYesAdres e-mail do odpowiedzi i nagłówka Reply-To.
contactNameYesImię do obsługi odpowiedzi.
descriptionYesOpis widoczny w zatwierdzonym podglądzie.
businessFormYesForma działalności.
changeReasonYesPowód zmiany, wyłącznie dla scenariusza „change”.
serviceScopeYesZakres obsługi.
documentCountYesOrientacyjna liczba dokumentów.
commitmentSaltYesSól odcisku widoczna wyłącznie w widżecie; przekazywana serwerowi razem z payloadem po zgodzie.
confirmationIdYesJednorazowy identyfikator potwierdzenia utworzony dla niezmienionej wersji podglądu.
draftCommitmentYesOdcisk SHA-256 draftu z losową solą, bez ujawniania pól formularza podczas fazy preview.

Output Schema

NameRequiredDescriptionDefault
statusYes
messageYes
ticketIdNo
approvalIdNo
deliveryModeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, destructive=true, openWorld=true) it discloses that preview sends no email, that SMTP is disabled by default, that an "accepted" result means provider acceptance rather than delivery, and that the server re-validates the payload, rate-limits and deduplicates. It also explains the one-time confirmation lifecycle and the HMAC/salt binding, which is exactly the context annotations cannot carry.

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?

The routing constraint (widget-only, never standalone) is front-loaded, and each following sentence covers a distinct concern: phases, widget confirmation, server-side safety, SMTP semantics. It is a dense single paragraph, but only the data-handling sentence at the end feels like it could be tightened.

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 16-required-parameter, destructive, open-world tool with an output schema and annotations already present, the description covers everything an agent needs to reason about it: who may call it, the preview/submit ordering, consent gating, and what the success signal does and does not mean.

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 the schema already documents all 16 fields; the description's added value is the protocol linking them — phase, confirmationId, draftCommitment and commitmentSalt form an ordered preview→submit handshake that the schema lists but does not sequence. It stops short of restating per-field formats, which is fine given the schema.

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 names the exact operation and its two phases ("preview" validates a draft and returns a one-time HMAC-bound confirmation id; "submit" performs the actual send), and it states outright that the tool is widget-only and never to be invoked by the model. That scope statement alone separates it from any generic prepare/validate sibling without needing to name them.

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 when-to-use and when-not-to-use rules: available exclusively through the MCP Apps widget, never called standalone by the model; preview must precede submit; consent may be true only after the user confirms in the widget; no transcripts or out-of-form data. These are hard exclusions, not implied context.

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