Skip to main content
Glama
intruder-io

intruder-mcp

Official

get_user

Returns the user account currently authenticated to the Intruder API.

Instructions

Get the current user of the Intruder API that we are authenticated as

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The 'get_user' tool handler. It calls api.get_health() and returns the 'authenticated_as' field from the Health response, identifying the current authenticated Intruder API user.
    async def get_user() -> str:
        """Get the current user of the Intruder API that we are authenticated as"""
        health = api.get_health()
        return health.authenticated_as
  • The tool is registered as an MCP tool using the @mcp.tool() decorator on the async function 'get_user'.
    @mcp.tool()
    async def get_user() -> str:
  • The 'get_health' API client method called by get_user. It sends a GET request to /health/ and returns a Health object.
    def get_health(self) -> Health:
        return Health(**self.client.get(f"{self.base_url}/health/").json())
  • The Health Pydantic model that defines the response schema. Contains 'status' (str) and 'authenticated_as' (str, email format) fields returned by the get_user tool.
    class Health(BaseModel):
        status: str = Field(..., description="API health status")
        authenticated_as: str = Field(..., format="email")
Behavior4/5

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

The description indicates a read-only operation without side effects. Beyond that, no annotations are provided, but the description accurately conveys the tool's behavior for a simple get.

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?

A single, precise sentence with no unnecessary words or redundancy, achieving excellent conciseness.

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

Completeness5/5

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

For a tool with no parameters and an available output schema, the description fully covers the tool's purpose and context, leaving no gaps in understanding.

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?

With zero parameters and 100% schema coverage, the description does not need to elaborate on parameters. The baseline is 4 as per guidelines.

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 verb 'Get' and the resource 'current user' with the context of the authenticated API session, distinguishing it from sibling tools that deal with scans, targets, etc.

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?

While no explicit when-to-use or alternatives are mentioned, the tool is self-explanatory as a getter for the current authenticated user, and siblings do not overlap in purpose.

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/intruder-io/intruder-mcp'

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