inbox.refresh
Check Gmail for new mail now; returns per-account sync status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | No |
Check Gmail for new mail now; returns per-account sync status
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | No |
Changes observed during successful MCP inspections.
Output schema / properties / data / items / properties / email / anyOfRemoved value: -[
- {
- "type": "string"
- },
- {
- "type": "null"
- }
-]Output schema / properties / data / items / properties / email / typeAdded value: +[
+ "string",
+ "null"
+]Output schema / properties / data / items / properties / id / anyOfRemoved value: -[
- {
- "type": "string"
- },
- {
- "type": "number"
- }
-]Output schema / properties / data / items / properties / id / typeAdded value: +[
+ "string",
+ "number"
+]Output schema / properties / data / items / properties / mailbox / anyOfPrevious value: -[
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ],
- "description": "Stable resource identifier"
- },
- "last_synced_at": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "When the mailbox last finished synchronizing"
- },
- "state": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Mailbox synchronization state"
- },
- "syncing": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "kind": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "messages_processed": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "messages_seen": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Current mailbox synchronization progress"
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "description": "Stable resource identifier",
+ "type": [
+ "string",
+ "number"
+ ]
+ },
+ "last_synced_at": {
+ "description": "When the mailbox last finished synchronizing",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "state": {
+ "description": "Mailbox synchronization state",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "syncing": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "kind": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "messages_processed": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "messages_seen": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Current mailbox synchronization progress"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]Output schema / properties / data / items / properties / primary / anyOfRemoved value: -[
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
-]Output schema / properties / data / items / properties / primary / typeAdded value: +[
+ "boolean",
+ "null"
+]Output schema / properties / data / items / properties / status / anyOfRemoved value: -[
- {
- "type": "string"
- },
- {
- "type": "null"
- }
-]Output schema / properties / data / items / properties / status / typeAdded value: +[
+ "string",
+ "null"
+]Output schema / properties / meta / properties / next_page / anyOfRemoved value: -[
- {
- "type": "string"
- },
- {
- "type": "null"
- }
-]Output schema / properties / meta / properties / next_page / typeAdded value: +[
+ "string",
+ "null"
+]Output schema / properties / meta / properties / total_count / anyOfRemoved value: -[
- {
- "type": "number"
- },
- {
- "type": "null"
- }
-]Output schema / properties / meta / properties / total_count / typeAdded value: +[
+ "number",
+ "null"
+]Output schema / properties / data / items / additionalPropertiesPrevious value: -{}New value: +falseOutput schema / properties / data / items / properties / calendar_grantedRemoved value: -{
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "description": "Whether Calendar read access is granted"
-}Output schema / properties / data / items / properties / calendar_write_grantedRemoved value: -{
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "description": "Whether Calendar write access is granted"
-}Output schema / properties / data / items / properties / gmail_grantedRemoved value: -{
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "description": "Whether Gmail read access is granted"
-}Output schema / properties / data / items / properties / gmail_send_grantedRemoved value: -{
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "description": "Whether Gmail send access is granted"
-}Output schema / properties / data / items / properties / mailbox / anyOfAdded value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "description": "Stable resource identifier"
+ },
+ "last_synced_at": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "When the mailbox last finished synchronizing"
+ },
+ "state": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Mailbox synchronization state"
+ },
+ "syncing": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "kind": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "messages_processed": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "messages_seen": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Current mailbox synchronization progress"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false, idempotentHint=false and openWorldHint=true, so the agent knows this side-effects an external system and is not repeatable cheaply. The description corroborates this by saying it goes out to Gmail immediately, but it adds nothing about rate limits, blocking behavior, or what a refresh does to existing state — which matters given idempotentHint=false.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with the action first and the return value second. No filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema covering return values, zero parameters, and annotations covering the safety profile, the description carries what it must. It stops short of saying whether the call blocks until sync finishes, which is the one operational detail an agent might need before calling a non-idempotent external fetch.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Zero parameters, so there is nothing for the description to disambiguate; the baseline applies. The description correctly implies no scoping arguments are needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
A specific verb+resource: 'check Gmail for new mail now' plus a note on what comes back. It separates an on-demand fetch from passive listing tools like inbox.list, but it never distinguishes itself from the sibling inbox.sync_status, whose name reads almost identically to the stated return value.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The word 'now' implies this is the on-demand trigger versus background syncing, which is useful context, but there is no explicit when-to-use, no exclusion, and no pointer to inbox.sync_status as the read-only alternative.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.