Skip to main content
Glama

confirmation-state

Classify a confirmation message as submitted, pending, reserved or completed from caller or default phrases — Reads a confirmation page, email or API message and decides which state it states: submitted, pending, reserved or completed, using phrase lists the caller supplies (preferred, because wording is provider-specific) plus an optional default English list. Matches are whole-word, case- and typography-insensitive, returned with offsets in UTF-16, code points, UTF-8 bytes and graphemes, and a match ins

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": {
      "text": "<text>"
    },
    "name": "confirmation-state"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesConfirmation text.
rulesNoCaller phrase lists; with these present the defaults are off unless useDefaults is true.
precedenceNoWhen several states match, the first one listed wins. Without it a conflict is unknown.
useDefaultsNoInclude the default English phrases. Default true only when rules is absent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose substantive behavior: whole-word matching, case- and typography-insensitive comparison, multiple offset encodings, and caller phrase lists overriding defaults. It falls short of fully describing the return payload or no-match/conflict behavior, and the text is visibly truncated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the description repeats the same four-state list twice and ends with an incomplete phrase ('and a match ins'). It is serviceable but not as tight or structurally clean as it should be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter classification tool with no annotations and no output schema, the description should clarify both matching behavior and return shape. It covers matching semantics reasonably well but is truncated and does not fully explain what the result object contains beyond offsets.

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%, so the baseline is 3. The description adds some meaning beyond the schema, notably that caller phrase lists are preferred because wording is provider-specific and that matching is whole-word and typography-insensitive, but it does not fully explain precedence or conflict resolution semantics.

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 uses a specific verb and resource: 'Classify a confirmation message' into four explicit states. It is far clearer than a tautology, but it does not differentiate this tool from possible siblings such as score-state or state-model-checker.

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?

The description gives useful context about reading confirmation pages, emails, or API messages and advises caller-supplied phrase lists as preferred. However, it provides no explicit when-to-use versus when-not guidance or named alternatives, leaving tool selection to inference.

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