Skip to main content
Glama

好縮 Short

Get User Profile

get_user_profile
Read-onlyIdempotent

Get the current authenticated user's profile, email, membership tier (Free / Pro), and active short link quota usage (compatible with get_account_status).

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

Input Schema

NameRequiredDescriptionDefault
session_idNoOptional session identifier

Output Schema

NameRequiredDescriptionDefault
nameNoUser display name
tierNoMembership tier (FREE or PRO)
emailNoUser email address
max_quotaNoMaximum allowed active short URLs
profile_idNoUser public profile ID
session_idNoCurrent MCP session ID
active_urlsNoCurrently active short URLs count
authenticatedYesWhether authenticated

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds real context beyond that: the data is scoped to the authenticated user and includes quota usage rather than a generic lookup. It stops short of describing auth failure behavior or freshness of the quota figure, so it is useful but not rich.

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 front-loaded sentence with no filler, and the resource leads before the field list. The parenthetical about get_account_status is the only element that reads as clutter rather than routing information.

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?

Annotations cover safety, an output schema exists so return values need no explanation, and the single optional parameter is fully documented in schema. The description covers identity scoping and the returned fields, which is most of what an agent needs. Only the unauthenticated case and the get_account_status relationship are unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one optional parameter exists and schema description coverage is 100%, so the schema already carries parameter meaning. The description's phrase 'current authenticated user' implicitly tells the agent this tool is session-scoped, which is mild added value, but it never explains what supplying session_id does or when to omit it. Baseline 3 is appropriate given the schema does the heavy lifting.

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?

States a specific verb (get) and resource (the current authenticated user's profile) and enumerates what is returned: email, membership tier, and active short link quota usage. That is enough to separate it from siblings like list_my_links or get_link_analytics. The trailing 'compatible with get_account_status' reference points at a tool that isn't in the sibling list, which slightly muddies rather than sharpens the distinction.

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 description implies usage by saying it targets the 'current authenticated user', so an agent can infer it needs a logged-in session, and the get_account_status mention hints at an alternative. However, there is no explicit when-to-use/when-not-to-use statement, no note about what happens when unauthenticated, and no guidance on choosing between this and get_account_status.

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