Skip to main content
Glama

getProfile

Retrieves the current user's Gmail profile via Google Workspace OAuth so AI agents can identify the active account before Gmail operations.

Instructions

Get the current user's Gmail profile

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "getProfile"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it only says what is fetched. It omits whether authentication or a particular OAuth scope is required, that the result reflects only the authenticated account (no user ID parameter exists), and what the profile actually contains.

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?

A single sentence with no filler and the key scope qualifier ("current user's") front-loaded. It is efficient, though it is so terse that it could have absorbed one clarifying clause at no structural cost.

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 tool is simple, but with no output schema and no annotations, the description is the only place to learn what the returned profile includes (e.g., email address, message/thread counts). That return-value context is missing, leaving a real gap for such a minimal envelope.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, and the description correctly implies no input is needed by scoping the call to the "current user." There is nothing further to document on the input side, so the baseline applies.

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?

"Get the current user's Gmail profile" states a specific verb (get) and a specific resource (Gmail profile) scoped to the authenticated user. The resource is clearly distinguishable from siblings like getMessage, getThread, or getFileInfo, though the description does not explicitly contrast itself with them.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus alternatives, no mention of prerequisites such as authentication, and no statement about when the tool is not appropriate. The usage is only weakly implied by the phrase "current user's".

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