Skip to main content
Glama

pt_email_client

Configure a host’s email account to send and receive messages via SMTP and POP3 servers in Packet Tracer.

Instructions

A host's Desktop > Email.

  • action="configure": name, address (alice@lab.com), username, password, smtp_server, pop3_server (IP or name of the Server running EMAIL).

  • action="send": to, subject, body (uses the configured account).

  • action="receive": asks the POP3 server for mail (it shows in the window; PT does not expose the mailbox through the API). Server accounts are created with pt_server_service(service="email"). The server's Domain Name and SMTP/POP3 switches are set with pt_server_service(server, "email", domain=..., smtp=..., pop3=...).

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": {
      "device": "<device>"
    },
    "name": "pt_email_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
bodyNo
nameNo
showNo
actionNoconfigure
deviceYes
addressNo
captureNo
subjectNo
passwordNo
usernameNo
output_dirNoscreenshots
pop3_serverNo
smtp_serverNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does add genuinely useful context — receive only displays mail in the window because PT does not expose the mailbox through the API, and send depends on a pre-configured account. However, it says nothing about the capture/show/output_dir behavior, authentication expectations, or whether configure overwrites existing state.

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?

The bulleted action-first structure is front-loaded and easy to scan, with each bullet tied to a specific action. The two trailing sentences about pt_server_service earn their place as prerequisite setup, though the header line's formatting is slightly awkward.

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?

An output schema exists, so return-value explanation is not required. For a 14-parameter, three-mode tool with no annotations, the description leaves meaningful gaps: the required `device` argument and the entire capture/screenshot pathway are undocumented, so an agent cannot fully infer parameter usage from the definition.

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 compensate, and it partially does: it maps name, address, username, password, smtp_server, pop3_server to configure and to/subject/body to send. But 5 of 14 parameters — including the required `device` and the screenshot-related `capture`, `show`, and `output_dir` — receive no explanation at all.

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 opening line identifies the resource concretely (a host's Desktop > Email client) and the three actions (configure/send/receive) are each spelled out, so an agent knows exactly what surface this operates on. It does not explicitly contrast itself with sibling tools beyond naming pt_server_service as the server-side counterpart.

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?

Usage context is implied clearly through the action breakdown: configure establishes credentials/servers, send uses that configured account, and receive pulls mail from the POP3 server. Prerequisite chaining is disclosed via the note that accounts must be created with pt_server_service and that domain/SMTP/POP3 switches are set there. No explicit when-not-to-use guidance is given.

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

Deploy Server

Other Tools