Skip to main content
Glama

Get Current Codecks User

codecks_get_current_user
Read-onlyIdempotent

Retrieve the authenticated Codecks user's ID, name, and primary email when available, returning details in markdown or JSON for account-aware workflows.

Instructions

Get information about the currently authenticated user.

Uses Codecks' read API to fetch the logged-in user (id, name) and (when available) their primary email via the userEmail model.

Args:

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

Returns: User information including id, name, and (if available) email.

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

Input Schema

NameRequiredDescriptionDefault
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds that it hits Codecks' read API and enumerates returned fields (id, name, conditional email) via the userEmail model, which is useful. With no output schema present it could go further on what happens when email is unavailable or on failure modes.

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?

Front-loaded purpose sentence, then structured Args/Returns sections that are easy to scan. Slight redundancy between the opening sentence and the Returns block, and an Args section for a single optional parameter is mildly over-formatted for the tool's size.

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 zero-required-parameter read tool with rich annotations, the description covers purpose, output fields, and the conditional nature of email. It lacks only alternative-selection guidance and any mention of error or unauthenticated behavior, which are minor gaps given the simplicity.

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?

Schema description coverage is 100% and the single enum parameter is fully documented in the schema, including the markdown/json meanings. The description's Args section merely restates the default, adding no syntax or behavioral nuance beyond the schema. Baseline 3 applies.

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 and resource ('Get information about the currently authenticated user') and scopes it to the logged-in user, which implicitly separates it from the many sibling user-lookup tools. It does not name a specific sibling to contrast with, so it falls short of full differentiation.

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 phrase 'currently authenticated user' implies the use case (identifying who the caller is) but there is no explicit guidance on when to prefer this over codecks_get_user or codecks_list_user. No exclusions or preconditions are stated.

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

Deploy Server

Other Tools