Skip to main content
Glama

whoami

Read-onlyIdempotent

ALWAYS CALL THIS FIRST in any new conversation. Resolves your identity from the request token (API key when hosted, or the AALY_TOKEN JWT/API key when running locally), fetches the platform user record, and lists all projects under the platform customer. Returns user, projects (id, slug, name), the key's context object, default_project_id (from context.projectId, if the key was minted with one), and a hint telling you what to do next. When default_project_id is set, project_id can be omitted on create_entity/generate_openapi_spec/describe_project/update_project. No parameters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: it discloses where credentials come from (hosted API key vs. local AALY_TOKEN JWT/API key), what is fetched (platform user record), the exact return surface (user, projects with id/slug/name, key context, default_project_id, hint), and a behavior-changing side effect on other tools. No contradiction with the read-only 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?

Front-loaded with the critical instruction ('ALWAYS CALL THIS FIRST') and every subsequent clause carries functional information about credentials, return shape, and downstream effects. It is dense to the point of being a long single block, but no sentence is filler.

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?

There is no output schema, so the description carries the return contract itself, and it does so by enumerating the returned fields including the `hint`. Together with the credential-source detail and the default_project_id effect, an agent has everything needed to call this correctly on the first turn.

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 and the description correctly states 'No parameters.' The discussion of project_id applies to other tools rather than this one's inputs, but it usefully frames why no parameter is needed here.

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?

Names a specific verb and resource set: it resolves identity from the request token, fetches the user record, and lists projects under the customer. This is clearly differentiated from the sibling list_projects (which lists projects without resolving identity) and from every create_/update_/delete_ sibling.

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 states 'ALWAYS CALL THIS FIRST in any new conversation', which is about as strong a when-to-use directive as exists. It further explains that a returned default_project_id lets callers omit project_id on create_entity/generate_openapi_spec/describe_project/update_project, so the agent knows the downstream consequences of calling this first.

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.

Resources