Skip to main content
Glama
mcp-google-tasks
by dcode

Get Current User

get_current_user
Read-only

Confirm which Google account the server acts on and check granted scopes to diagnose permission errors or missing Tasks access.

Instructions

Return profile claims and granted scopes for the authenticated user.

Call this to confirm which Google account the tools act on, or to diagnose a permission error (check that a Tasks scope is granted). In single-user token mode the profile comes from Google's userinfo endpoint and the scope list is empty. Fails if no Google credential is available; the user must sign in again or fix the server's token configuration.

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": "get_current_user"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
subNo
nameNo
emailNo
scopesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false. The description adds genuinely non-obvious behavior: in single-user token mode the profile comes from Google's userinfo endpoint and the scope list is empty, and the call fails outright when no Google credential exists. That failure mode and remediation hint are exactly the context an agent needs.

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?

Three tight sentences: the purpose first, then the use cases, then the failure mode. No redundant restatement of the title or annotations, and every sentence carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no prose explanation. The description covers the use cases, the single-user token caveat, and the failure condition, which is everything needed to call a zero-parameter read tool correctly.

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, so the baseline is 4. There is no parameter surface to misdescribe, and the description correctly implies no input is required.

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?

States a specific verb and resource ('Return profile claims and granted scopes') and scopes it to 'the authenticated user'. This is clearly a self-inspection tool and is trivially distinguishable from the sibling task/tasklist CRUD tools.

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 explicit when-to-use triggers: confirming which Google account the tools act on, or diagnosing a permission error by checking a Tasks scope. It doesn't name a 'when not to use' case or an alternative, but no sibling performs this function, so the guidance is effectively complete.

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