Skip to main content
Glama

export_period

Idempotent

Exports a Markdown transcript of every WhatsApp chat with messages in a specified date or Unix-time range, with optional account selection.

Instructions

Write one Markdown transcript with every chat that has messages in the period.

after/before: unix seconds, YYYY-MM-DD or ISO 8601.

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": {
      "after": "<after>"
    },
    "name": "export_period"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterYes
beforeNo
accountNoAccount from list_accounts when several WhatsApp numbers are set up; default: default

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is largely covered. The description adds that the operation produces a single combined Markdown artifact, which is genuinely useful context beyond the annotations, but it never says where the file is written, what it is named, or whether an existing file is overwritten — meaningful gaps for a write tool.

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?

Two short lines, the main action front-loaded, and no filler. The second line is a compressed fragment ('after/before: unix seconds, ...') rather than a full sentence, which is efficient but slightly telegraphic.

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 values need not be explained here. However, for a tool whose entire job is writing a file, the description omits the destination, naming/overwrite behavior, and range inclusivity, which an agent would need in order to set expectations — leaving it adequate but incomplete relative to the tool's complexity.

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 only 33% (only 'account' is documented in the schema), so the description must carry weight — and it does partially, by specifying the accepted date/time formats for after/before (unix seconds, YYYY-MM-DD, ISO 8601) and defining the period boundaries. It adds no semantics for 'account' and does not state whether the range is inclusive or exclusive, leaving one of three parameters and a key boundary rule unclear.

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 gives a concrete verb and output artifact ('Write one Markdown transcript') plus the resource scope ('every chat that has messages in the period'), which implicitly separates it from the single-chat export_chat sibling. It stops short of naming or contrasting any alternative explicitly, so the differentiation is inferred rather than stated.

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: the agent can infer this is the bulk/period export because it covers 'every chat that has messages in the period'. There is no explicit guidance on when to choose this over export_chat, no prerequisites, and no exclusions such as what happens with an empty period or whether the account parameter is needed only in multi-number setups.

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