Skip to main content
Glama

build_whoami

Read-only

Returns the scope of the current credential: role (domain_admin / project_admin), domain, whether it can create projects, the project it is limited to (if any) and the plan. No inputs. Useful at the start of a session to know whether a project is already fixed or one has to be chosen or created.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the returned fields and the role values (domain_admin / project_admin), which is genuinely useful since no output schema exists, but it says nothing about failure behavior (e.g., invalid or expired credential) or response shape beyond prose. Since no output schema backs it up, the return-value disclosure could be firmer.

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 short sentences, front-loaded with what is returned, then the input fact, then the usage cue. Nothing is padded, and the 'No inputs' sentence earns its place by preempting a common agent question.

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

Completeness4/5

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

For a parameterless, read-only probe with no output schema, the description covers the essentials: what comes back, that nothing goes in, and when to call it. The only omission is error/edge-case behavior for an invalid credential, which is minor for a tool this simple.

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 reinforces this with 'No inputs.' That removes any ambiguity about needing a project or domain argument before calling it.

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 ('Returns the scope of the current credential') and then enumerates exactly what is returned: role, domain, project-creation capability, bound project, and plan. An agent can distinguish this identity/probe tool from siblings like build_get_project or build_create_project without opening any schema.

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 an explicit usage context: call it at the start of a session to learn whether a project is already fixed or must be chosen or created. That is actionable routing guidance, though it stops short of naming the specific alternative tools (build_list_projects, build_create_project) that the 'chosen or created' branch implies.

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.