Skip to main content
Glama

list_blocked_senders

Read-only

List Gmail filters for an account to audit what is being auto-trashed, archived, or marked spam, and to find the filter ID needed to unblock a sender.

Instructions

List all Gmail filters for an account. Use to find filter_id for unblock_sender, or to audit what is being auto-trashed/archived/spammed.

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": {
      "account": "<account>"
    },
    "name": "list_blocked_senders"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYesAccount id ("personal", "tamu").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is settled. The description adds value beyond that by hinting at return contents (filter_id) and explaining what the records represent — rules that auto-trash, archive, or spam. With no output schema, a slightly fuller statement of returned fields would earn a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero waste, and the core purpose is front-loaded ahead of the usage guidance. Every clause carries information an agent needs.

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 single-parameter read-only list tool with annotations covering safety and full schema coverage of the one argument, this is nearly complete: purpose, when-to-use, and a hint at outputs are all present. A brief note on ordering or volume of filters returned would close the 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?

Only one parameter exists and schema coverage is 100%, with the schema itself enumerating example account ids ('personal', 'tamu'). The description adds nothing about the account argument, so baseline 3 applies — the schema does all the work here.

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?

States a specific verb and resource: 'List all Gmail filters for an account.' This is clear, though it sits in slight tension with the tool name 'list_blocked_senders' — the description clarifies that the filters in question are the auto-trash/archive/spam rules, which reconciles the two. It distinguishes itself adequately from siblings and names unblock_sender as the downstream consumer.

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?

Gives two concrete usage modes: 'Use to find filter_id for unblock_sender' and 'to audit what is being auto-trashed/archived/spammed.' Naming the sibling and the field it needs is strong routing guidance. It lacks an explicit when-not or a note that it returns all filters regardless of type, but the context is clear.

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