Skip to main content
Glama

manageFilter

Create, list, retrieve, or delete Gmail message filters to automate labeling, forwarding, and organizing incoming messages.

Instructions

Manage Gmail message filters. action: create | delete | get | list. create requires criteria and filterAction. get/delete require id.

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": {
      "action": "<action>"
    },
    "name": "manageFilter"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe filter ID (required for get and delete)
actionYesThe filter operation to perform
criteriaNoFilter criteria (required for create)
filterActionNoActions on matching messages (required for create)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description must disclose behavior on its own. It identifies create and delete as actions but does not describe side effects, permissions, reversibility, authentication needs, or what get/list return, leaving major behavioral gaps for mutation operations.

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?

The description is two short sentences, front-loaded with the tool purpose and immediately followed by valid actions and invocation requirements. There is no wasted wording.

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?

The schema is rich and documents nested criteria and filterAction fields, and the description covers action requirements adequately. However, with no output schema and no annotations, it does not explain return values, safety behavior, or side effects for a filter-management tool that includes create and delete operations.

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%, so the parameter meanings are already well documented. The description repeats requiredness for create, get, and delete but adds little meaning beyond the schema.

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 clearly states the resource and operations: Gmail message filters with create, delete, get, and list actions. It does not explicitly distinguish this tool from sibling management tools, so it falls short of the top score.

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?

It lists the action values and required parameters for create, get, and delete, which implies how to use each operation. However, it does not explain when to choose this tool versus alternatives or when not to use it.

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