Skip to main content
Glama
PagerDuty

pagerduty-mcp

Official
by PagerDuty

get_user_data

Read-onlyIdempotent

Retrieve the authenticated user's PagerDuty profile including name, role, ID, summary, and team memberships.

Instructions

Get the current user's data.

Returns:
    User: User name, role, id, and summary and teams

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoThe ID of the user
nameYesThe name of the user
roleYesThe user role in PagerDuty (admin, limited_user, observer, etc.)
emailYesThe email of the user
teamsYesThe list of teams to which the user belongs
summaryNoA short-form, server-generated string that provides succinct information about the user
job_titleNoThe user's job title.
time_zoneNoThe user's preferred time zone as an IANA name (e.g., 'America/New_York'). Used for bucketing on-call hours into off-hours/sleep-hours windows per user.
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint. Description adds return field detail but no additional behavioral context like authentication or limits.

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?

One concise sentence plus a clean list of return fields. No redundancy.

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?

Tool has no parameters, output schema exists, and description covers key return fields. Slightly vague on 'summary' but overall complete.

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?

No parameters exist, so schema coverage is complete. Description adds value by listing returned fields beyond the schema.

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?

The description clearly states the tool retrieves the current user's data, and the name differentiates it from sibling tools like get_service or list_users.

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?

No explicit when-to-use or when-not-to-use guidance is provided, though the purpose is clear and distinct from siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PagerDuty/pagerduty-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server