Skip to main content
Glama

import_portal_enquiries

Destructive

REAL ACTION: creates leads from portal enquiry mails. Skips what is already taken in (per source and enquiry reference), skips what the reader did not recognise as an enquiry, and attaches to an EXISTING lead when the e-mail address is already known instead of creating a second one. What could not be read is written onto the lead in plain words — nothing is guessed and nothing is dropped.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "import_portal_enquiries"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 50, max 500.
source_idNoID of the source

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / source_id / description
      Added value: +"ID of the source"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With annotations already declaring destructiveHint=true and idempotentHint=false, the description adds substantial context the annotations cannot: deduplication by source plus enquiry reference, skipping of unrecognised mail, merging onto an EXISTING lead by e-mail address rather than duplicating, and that unparsed content is written verbatim onto the lead. The one gap is that it never reconciles the destructiveHint flag — it never says which existing lead fields may be overwritten or what an agent should check before running.

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?

One dense but well-ordered passage: the side-effect warning is front-loaded, then the skip rules, then the merge rule, then the fallback handling. The closing clause 'nothing is guessed and nothing is dropped' is slightly rhetorical but does convey a real no-data-loss guarantee, so almost every sentence earns its place.

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 two-parameter mutating tool with no output schema, the description covers the important unknowns: what is deduplicated, what is skipped, how duplicates are merged, and what happens to unreadable content. It does not say what the call returns (counts, per-item errors) or how partial failures are surfaced, which is the main remaining gap.

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%, with both parameters documented ('Default 50, max 500' and 'ID of the source'), so the schema carries the burden. The description mentions neither parameter and adds no meaning about how limit interacts with skip/merge behaviour or what happens when source_id is omitted, so it stays at the baseline.

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 opens with a specific verb and resource: 'creates leads from portal enquiry mails', prefixed by 'REAL ACTION' to signal a mutating operation. That distinguishes it cleanly from read-oriented siblings such as list_portal_enquiries and from the generic import_leads, without the agent needing to open the schema.

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 implied rather than stated: an agent can infer this tool ingests portal enquiries, and the skip rules ('already taken in per source and enquiry reference') hint at when it is safe to run. However, there is no explicit 'use this instead of X' guidance, no statement of prerequisites (e.g. a configured source or mailbox), and no named alternative such as list_portal_enquiries for inspecting before importing.

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.