Skip to main content
Glama

set_traveler_info

Configure traveler details such as name, language, personality, and speaking habits to personalize the virtual travel experience in the Map Traveler MCP environment.

Instructions

set a traveler's setting.For example, traveler's name, the language traveler speak, Personality and speaking habits, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
settingsYestraveler's setting. traveler's name, the language traveler speak, etc.

Implementation Reference

  • The handler function that executes the set_traveler_info tool: saves the provided info to the database under 'aiEnv' key and returns a confirmation message.
    const setTravelerInfo = (info: string) => {
      return DbService.saveEnv('aiEnv', info).pipe(
        Effect.andThen(a => [{
            type: "text",
            text: `The traveller information is as follows: ${a.value}`
          } as ToolContentResponse]
        )
      )
    }
  • The tool definition including name, description, and input schema requiring a 'settings' string parameter.
    {
      name: "set_traveler_info",  //  環境情報はリソースに反映する できれば更新イベントを出す
      title: "Set the traveler's preferences (optional).",
      description: "set a traveler's setting.For example, traveler's name, the language traveler speak, Personality and speaking habits, etc.",
      inputSchema: {
        type: "object",
        properties: {
          settings: {
            type: "string",
            description: "traveler's setting. traveler's name, the language traveler speak, etc."
          },
        },
        required: ["settings"]
      }
    },
  • Dispatches calls to the set_traveler_info tool by invoking the setTravelerInfo handler with the 'settings' argument.
    case "set_traveler_info":
      return setTravelerInfo(String(request.params.arguments?.settings))
Install Server

Other Tools

Related 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/mfukushim/map-traveler-mcp'

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