Skip to main content
Glama

whoami

Read-onlyIdempotent

Return the authenticated TimeToPost user, bound organization and any org warning, plus THIS credential's capabilities (read / draft / publish) and canPublish. CALL THIS FIRST: a DRAFT-ONLY token can create drafts but is 403ed by every route that reaches a live audience (publish, schedule, approve, DM-send), so check canPublish before you plan any publishing step. CAPABILITY: read: side-effect-free.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing that a draft-only token yields 403s on every live-audience route and that `read` capability is side-effect-free. The annotations already cover readOnly/idempotent safety, and the description adds the failure-mode and permission-tier context that the annotations cannot express. Slight incompleteness only in that the draft/publish capability descriptions are never spelled out to the same depth as `read`.

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?

Front-loads the return surface, then the sequencing directive, then the capability semantics – a sensible priority order with no filler. The trailing "CAPABILITY: `read`: side-effect-free." fragment reads as truncated, listing three capability values but defining only one, which slightly hurts structure.

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?

With no output schema, the description carries the return-value burden and does so concretely: user, organization, org warning, per-credential capabilities and canPublish. For a zero-parameter identity/capability probe, nothing an agent needs to act on the result is missing.

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 no parameters, so there is nothing for the description to disambiguate and the baseline for a zero-parameter tool applies. The description instead spends its words on the returned capability model, which is the more useful information.

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 (return) plus the exact resources returned: authenticated user, bound organization, org warning, credential capabilities (read/draft/publish) and canPublish. The "CALL THIS FIRST" framing and capability model also separate it from sibling tools like approve_draft or create_drafts.

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?

Explicitly instructs the agent to call it first and to check canPublish before planning any publishing step, naming the affected route classes (publish, schedule, approve, DM-send). This is a rare case of an authoritatively sequenced when-to-use directive plus a concrete pre-condition.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.