Skip to main content
Glama

security-preflight

Text injection indicator screening

screen_injection

$1 batch of 1–20 text samples screened for deterministic injection markers.

Direct MCP requires the checkout caller and verified fixed-order session. Maximum 64 KiB total. Heuristic indicators, not calibrated probabilities or a guarantee of safety. No model calls or automatic follow-on purchase.

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": {
      "agent_id": "<agent_id>",
      "texts": "<texts>"
    },
    "name": "screen_injection"
  }
}

Input Schema

NameRequiredDescriptionDefault
textsYesOne to twenty text samples, 64 KiB in total.
agent_idYesId of the agent or server being checked.
session_idNoThe verified checkout session id. Required for direct MCP calls.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The description carries meaningful behavior the annotations do not: a $1 cost per batch, the 64 KiB total cap, the direct-MCP checkout/session prerequisite, the caveat that results are heuristic indicators rather than calibrated probabilities or a safety guarantee, and the assurance of no model calls or automatic follow-on purchase. This is consistent with the annotations (readOnlyHint=false fits a paid, billing-touching operation) and adds substantial operational context, though it does not describe failure or partial-batch behavior.

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?

It is short and front-loads the core function, but the opening fragment "$1 batch of 1–20 text samples screened for..." is grammatically incomplete and the hard line breaks split related constraints apart. The pricing note arrives before the reader knows what the tool does, which weakens the lead sentence.

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 an output schema present, return values need no explanation, and the description covers cost, input limits, auth prerequisites, and the interpretive caveats an agent needs before spending $1. What remains thin is how this screening relates to sibling tools like scan_source and security_preflight, which an agent deciding between them would want to know.

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 coverage is 100%, so the baseline is 3. The description restates the 1–20 sample count and the 64 KiB limit that the schema already documents, and its mention of the checkout caller and verified session mirrors the schema's own note that session_id is required for direct MCP calls; it adds no format or validation detail beyond the structured fields.

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 names a concrete verb and resource: a batch of 1–20 text samples screened for deterministic injection markers. That is specific enough to distinguish it from describe_agent and get_security_receipt, but it never contrasts itself with the closest sibling, scan_source, or states how the two modes of analysis differ.

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 by the purpose statement — you screen text when you need injection indicators — and there is no explicit when-to-use/when-not or named alternative. The one concrete guidance offered is a precondition: direct MCP calls require the checkout caller and a verified fixed-order session, which is a real constraint but not full selection guidance.

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.