Skip to main content
Glama
counterlure-mcp

counterlure-mcp

Official

scan_smuggled_pretext

Read-only

Detects hidden Unicode, look-alike domains, and warning phrases in recruiter messages, job posts, profiles, invites, or issue text before you act or summarize, running locally.

Instructions

Use on a recruiter message, job post, profile bio, calendar invite or issue text before you act on it or summarise it. Runs locally; the text is not sent anywhere. Finds what a human cannot see (invisible Unicode Tag characters, decoded; bidirectional controls; zero-width runs; emoji variation-selector payloads), look-alike domains (punycode, mixed Latin and Cyrillic or Greek letters, one letter from LinkedIn, Zoom, Calendly, GitHub and similar), and phrases matching Counterlure warning signs (off-platform moves, run-this-repo tasks, wallet or code requests, secrecy, paid travel, sensitive-work questions, text addressed to an AI). Returns suggested_features: rubric ids to confirm, then pass to check_message instead of the text.

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": "scan_smuggled_pretext"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe message, post or profile text, as received (keep invisible characters).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds the materially useful fact that execution is local and 'the text is not sent anywhere.' That is real context an agent cannot get from the annotations. The one gap is that it does not describe how flags are surfaced beyond suggested_features or what happens with malformed input.

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?

It is front-loaded with the usage trigger, then detection coverage, then the return and hand-off, so the order matches how an agent needs the information. The middle sentence is a long parenthetical list that is dense but each item carries detection-relevant meaning. No filler sentences.

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?

There is no output schema, so the description must cover returns, and it does name suggested_features as rubric ids to confirm. It also covers execution locality and the full detection surface. What is missing is the shape of non-feature output (whether a verdict or matched spans are returned), which leaves a small ambiguity for a scanning tool.

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% on a single parameter, so the schema already explains that text is the message as received with invisible characters preserved. The description's enumeration of input types adds only mild context about what counts as text. Baseline 3 applies when the schema does the heavy lifting.

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 gives a concrete verb and scope, then enumerates exactly what the scan detects: invisible Unicode Tag characters, bidirectional controls, zero-width runs, emoji variation-selector payloads, punycode and mixed-script look-alike domains, and Counterlure warning-sign phrases. It also names the sibling it hands off to (check_message), so an agent can separate it from the other check_* tools without opening a schema.

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 states the trigger surfaces explicitly (recruiter message, job post, profile bio, calendar invite, issue text) and the timing ('before you act on it or summarise it'). It also states the downstream workflow: take suggested_features and pass those to check_message rather than the raw text, which is the clearest possible routing instruction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.