Skip to main content
Glama

gmail_discover

Read-only

List available Gmail operations to locate the exact tool you need. Call this first to reveal hidden Gmail tools before using them.

Instructions

List the available gmail operations. Operational gmail tools are hidden until discovered — call this first, then call the tool you need by name. Operations: search, read, read_thread, send, download_attachment, create_draft, modify_labels, trash, delete, batch_modify, batch_delete, list_drafts, get_draft, send_draft, list_labels, create_label, delete_label, get_profile, list_history, get_vacation, set_vacation, users_drafts_delete, users_drafts_update, users_labels_get, users_labels_patch, users_labels_update, users_messages_import, users_messages_insert, users_messages_untrash, users_settings_cse_identities_create, users_settings_cse_identities_delete, users_settings_cse_identities_get, users_settings_cse_identities_list, users_settings_cse_identities_patch, users_settings_cse_keypairs_create, users_settings_cse_keypairs_disable, users_settings_cse_keypairs_enable, users_settings_cse_keypairs_get, users_settings_cse_keypairs_list, users_settings_cse_keypairs_obliterate, users_settings_delegates_create, users_settings_delegates_delete, users_settings_delegates_get, users_settings_delegates_list, users_settings_filters_create, users_settings_filters_delete, users_settings_filters_get, users_settings_filters_list, users_settings_forwarding_addresses_create, users_settings_forwarding_addresses_delete, users_settings_forwarding_addresses_get, users_settings_forwarding_addresses_list, users_settings_get_auto_forwarding, users_settings_get_imap, users_settings_get_language, users_settings_get_pop, users_settings_send_as_create, users_settings_send_as_delete, users_settings_send_as_get, users_settings_send_as_list, users_settings_send_as_patch, users_settings_send_as_smime_info_delete, users_settings_send_as_smime_info_get, users_settings_send_as_smime_info_insert, users_settings_send_as_smime_info_list, users_settings_send_as_smime_info_set_default, users_settings_send_as_update, users_settings_send_as_verify, users_settings_update_auto_forwarding, users_settings_update_imap, users_settings_update_language, users_settings_update_pop, users_stop, users_threads_delete, users_threads_list, users_threads_modify, users_threads_trash, users_threads_untrash, users_watch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoKeyword to filter the returned operations
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses a key behavioral trait: 'Operational gmail tools are hidden until discovered.' This explains why this tool must be called first and sets expectations for how the tool system works. No contradiction with annotations.

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 description is front-loaded with purpose and usage in the first two sentences, then provides a comprehensive list of operations. While the list is very long, it is necessary and directly supports the tool's purpose. It is structured but could be seen as verbose due to the exhaustive enumeration.

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?

With no output schema, the description compensates by listing all available operations, giving the agent a clear expectation of the return content. It also explains the discovery mechanism and ordering. Slightly more detail on the return format (e.g., list vs. table) would make it complete, but the essential information is present.

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?

The schema already describes the 'query' parameter with 100% coverage ('Keyword to filter the returned operations'). The description does not add any additional meaning to the parameter itself, but it does list the operations that would be returned, which adds context to the tool's output rather than the input. Baseline 3 is appropriate.

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: 'List the available gmail operations.' This clearly distinguishes it from sibling discover tools (e.g., drive_discover, calendar_discover) which target other services. The explicit operation list further confirms the scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly instructs 'call this first, then call the tool you need by name.' This tells the agent exactly when to use it and implies that other gmail tools should be called after discovery. The sibling discover tools provide obvious alternatives for non-Gmail services.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bakissation/mcp-google-multi'

If you have feedback or need assistance with the MCP directory API, please join our Discord server