Skip to main content
Glama

get_user_info

Retrieve user metadata from Fulcra Context, including time zone and calendar IDs, to personalize applications and services.

Instructions

Return general info about the Context by Fulcra user.

Returns user references such as time zone, calendar ids, and other metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The main handler function for the 'get_user_info' tool. It is registered via the @mcp.tool() decorator. Retrieves the FulcraAPI instance using get_fulcra_object() and calls fulcra.get_user_info() to get user information, returning it as a JSON string.
    @mcp.tool()
    async def get_user_info() -> str:
        """Return general info about the Context by Fulcra user.
    
        Returns user references such as time zone, calendar ids, and other metadata.
        """
        fulcra = get_fulcra_object()
        user_info = fulcra.get_user_info()
        return "User information: " + json.dumps(user_info)
  • Helper function to obtain the FulcraAPI object, handling both stdio and authenticated modes. Used by the get_user_info handler and other tools.
    def get_fulcra_object() -> FulcraAPI:
        global stdio_fulcra
    
        if settings.fulcra_environment == "stdio":
            if stdio_fulcra is not None:
                return stdio_fulcra
            else:
                stdio_fulcra = FulcraAPI()
                stdio_fulcra.authorize()
                return stdio_fulcra
    
        mcp_access_token = get_access_token()
        if not mcp_access_token:
            raise HTTPException(401, "Not authenticated")
        fulcra_token = oauth_provider.token_mapping.get(mcp_access_token.token)
        if fulcra_token is None:
            raise HTTPException(401, "Not authenticated")
        fulcra = FulcraAPI()
        fulcra.set_cached_access_token(fulcra_token)
        return fulcra
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states this is a read operation ('Return general info'), but doesn't mention authentication requirements, rate limits, error conditions, or whether the data is real-time vs cached. For a user info tool with zero annotation coverage, this leaves significant behavioral gaps.

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?

The description is appropriately concise with two sentences that directly address purpose and return values. The first sentence states the core function, and the second provides concrete examples. There's no wasted verbiage, though it could be slightly more structured by front-loading the most critical 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?

Given the tool has zero parameters, 100% schema coverage, and an output schema exists, the description provides adequate basic information about what the tool returns. However, for a user info tool with no annotations, it should ideally mention authentication requirements or data freshness. The existence of an output schema means the description doesn't need to detail return format, but behavioral context is incomplete.

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 has zero parameters (schema coverage 100%), so there are no parameters to document. The description appropriately doesn't waste space discussing nonexistent parameters. A perfect 5 would require the description to explicitly state 'no parameters required' or similar, but 4 is appropriate given the empty parameter set.

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?

The description clearly states the tool's purpose: 'Return general info about the Context by Fulcra user' with specific examples of what's returned ('user references such as time zone, calendar ids, and other metadata'). However, it doesn't explicitly differentiate this user info tool from sibling tools that return location, metrics, sleep, or workout data, which would be needed for a perfect score.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. There's no mention of prerequisites, timing considerations, or comparison to sibling tools that return different types of user data. The agent must infer usage context from the tool name alone.

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/fulcradynamics/fulcra-context-mcp'

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