Skip to main content
Glama

Who am I

whoami
Read-only

Identify the authenticated Porter user and the company you are acting on.

Useful context before any account, blend or report operation — it tells you whose data you are working with and on which plan.

company.plan_status says what that plan is worth right now: active_subscription (or active_subscription_other_company, an agency plan covering this workspace), no_active_subscription (nothing paid is in force — this is what a quota_exhausted query looks like from the licence side) or unknown (the billing summary could not be read, so the null plan means nothing).

skill: if the Porter Metrics skill is loaded, pass the value it gives you (e.g. "porter-metrics@2.3.0"). When the answer carries a skill_notice, follow its instructions.

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
skillNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that: it decodes the plan_status values (including that unknown means the billing summary was unreadable and a null plan is therefore meaningless) and warns that a skill_notice must be acted on. The only shortfall is that some of this restates return-value semantics the output schema likely already carries.

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?

Purpose and usage are front-loaded in the first sentence, and the remaining paragraphs each address a distinct field (plan_status, skill). The plan_status parenthetical is dense and backtick-heavy but every clause conveys information; nothing is filler.

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 one-parameter read-only identity probe with an output schema, the description covers purpose, timing, the parameter, and the two non-obvious response caveats. An agent has enough to call it correctly; only the omit-vs-null behavior of `skill` remains implicit.

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?

Schema description coverage is 0%, so the description carries the burden for the single `skill` parameter, and it does so well: pass the Porter Metrics skill value when loaded, with a format example. It does not explicitly say to omit the parameter when no skill is loaded, leaving the null default to inference.

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?

"Identify the authenticated Porter user and the company you are acting on" names a specific verb (identify) and resource (user/company), and further specifies what is returned (company.plan_status). No sibling tool covers identity, so the agent can immediately tell why this one exists.

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?

"Useful context before any account, blend or report operation" gives a concrete when-to-use trigger tied to named operation families. It stops short of stating when *not* to call it or naming a cheaper alternative, so it is not a full 5.

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