Skip to main content
Glama

whoami

Read-only

Retrieve your own Portflow user profile to confirm you are logged in as the teacher before reading courses, portfolios, or submissions.

Instructions

Your own Portflow user profile (to confirm you are logged in as the teacher).

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 observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the agent knows this is a safe, non-mutating call. The description adds that the result is scoped to the calling user's own profile and hints at a teacher role, which is genuinely useful context. It says nothing about what the profile contains or what happens when the caller is unauthenticated, so the value added beyond annotations is modest.

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 short sentence with the resource front-loaded and the use case trailing in a parenthetical; nothing is padded or repeated. Slightly awkward phrasing, but every word carries information.

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?

With no output schema, the description is the only place an agent can learn what a 'user profile' returns (name, email, role, id?), and it stays silent on that. For a trivial parameterless read the omission is tolerable, but it leaves the agent unable to predict the response shape or handle the unauthenticated case.

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 makes no parameter claims, so there is no gap to fill. Baseline of 4 applies for a parameterless tool with a fully described empty schema.

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?

"Your own Portflow user profile" names a specific resource and scopes it to the authenticated user, which is enough for an agent to distinguish it from the list_*/get_* data-fetching siblings. It stops short of a 5 because the phrase is nominal rather than a verb+resource, and it never addresses the closest neighbor, token_status, which plausibly serves a similar 'am I authenticated' role.

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

Usage Guidelines3/5

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

The parenthetical "to confirm you are logged in as the teacher" supplies one concrete use case, so usage is implied rather than absent. However, there is no statement of when not to use it, and it does not route to or exclude token_status despite that sibling appearing to cover overlapping authentication concerns.

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