Skip to main content
Glama

read_username

Retrieve a username from the Hiworks Mail system to enable email operations such as searching, reading, and sending messages with attachments.

Instructions

하이웍스 username을 읽어옵니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameNo
passwordNo

Implementation Reference

  • The handler function for the 'read_username' tool. It takes username and password as input and returns them as a JSON string in the MCP response format.
    async ({ username, password }) => { return { content: [ { type: "text", text: JSON.stringify({ username: username, password: password }) } ] }; }
  • src/index.ts:136-153 (registration)
    Registration of the 'read_username' tool using server.tool, including the description, schema reference (emailSchema), and inline handler.
    server.tool( 'read_username', '하이웍스 username을 읽어옵니다.', emailSchema, async ({ username, password }) => { return { content: [ { type: "text", text: JSON.stringify({ username: username, password: password }) } ] }; } );
  • Zod schema used for input validation of the 'read_username' tool (shared with other email tools).
    const emailSchema = { username: z.string().default(process.env['HIWORKS_USERNAME'] || ''), password: z.string().default(process.env['HIWORKS_PASSWORD'] || '') };
  • Tool schema declaration in the MCP server capabilities section.
    read_username: { description: '하이웍스 username을 읽어옵니다.', parameters: { type: 'object', properties: { username: { type: 'string' }, password: { type: 'string' } }, required: ['username', 'password'] } },

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/beylessai/hiworks-mcp'

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