Skip to main content
Glama

PromptVault

Check before sending

check_before_send
Read-onlyIdempotent

Premium. Ask before sending text to a named destination (e.g. 'OpenAI', 'vendor-x.com', 'public GitHub'). Returns allow / allow_with_tokenization / block under the active policy, with the reason.

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>",
      "destination": "<destination>"
    },
    "name": "check_before_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
destinationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, non-open-world. The description adds meaningful context beyond them: it is a 'Premium' feature and, crucially, discloses the three-valued return contract (allow / allow_with_tokenization / block) plus that a reason is included. This return-value disclosure is valuable since no output schema exists.

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?

Roughly two sentences, front-loaded with the tier then purpose then return contract. Tight and readable; the lone 'Premium.' fragment is a slightly abrupt opener but earns its place as a key constraint.

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?

For a 2-param read-only check tool with rich safety annotations, the description supplies the missing return-value semantics and destination examples. The main residual gap is the undocumented 'text' parameter, but overall the definition is sufficient for an agent to call it correctly.

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 0%, so the description must carry parameter meaning. It gives concrete destination examples ('OpenAI', 'vendor-x.com', 'public GitHub'), which helps, but it says nothing about the 'text' parameter's expected content, size, or format. Partial compensation for the coverage gap.

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 states a specific action with a clear verb and object: 'Ask before sending text to a named destination', and names the verifiable outcome (allow / allow_with_tokenization / block under the active policy). It's clearly distinct from document/text-processing siblings, though it doesn't explicitly contrast with them. The 'Premium' tag is a useful qualifier but not core to purpose.

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

Usage Guidelines4/5

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

The phrase 'Ask before sending text' clearly implies the when-to-use context (pre-send gating), and examples ('OpenAI', 'vendor-x.com', 'public GitHub') clarify the destination concept. However, it gives no explicit when-not guidance or named alternatives within the sibling set, leaving that 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