Skip to main content
Glama

get_rising_sign_info

Retrieve detailed astrological information about a specific rising sign, including its characteristics and influences, by providing the sign name in English or Chinese.

Instructions

获取指定上升星座的详细信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
risingSignYes上升星座名称(中文或英文)

Implementation Reference

  • The main handler function for the 'get_rising_sign_info' tool. It resolves the rising sign key, fetches data from risingSignData, formats and returns detailed information about the rising sign including description, appearance, traits, and personality.
          case 'get_rising_sign_info': {
            const risingSignKey = getRisingSignKey(args.risingSign);
            if (!risingSignKey) {
              throw new Error(`未找到上升星座: ${args.risingSign}`);
            }
            
            const risingSign = risingSignData[risingSignKey];
            
            result = {
              content: [
                {
                  type: 'text',
                  text: `# ${risingSign.symbol} 上升${risingSign.name} (${risingSign.english})
    
    **上升星座概述:**
    ${risingSign.description}
    
    **外貌特征:**
    ${risingSign.appearance}
    
    **性格特点:**
    ${risingSign.traits.map(trait => `- ${trait}`).join('\n')}
    
    **个性分析:**
    ${risingSign.personality}
    
    **上升星座的意义:**
    上升星座代表一个人给外界的第一印象,以及面对新环境时的表现方式。它反映了我们如何与世界互动,以及他人如何看待我们。
    
    **与太阳星座的关系:**
    - 太阳星座代表内在本质和核心性格
    - 上升星座代表外在表现和第一印象
    - 两者结合能更全面地了解一个人的性格特征`
                }
              ]
            };
            break;
  • index.js:573-587 (registration)
    Registration of the 'get_rising_sign_info' tool in the tools array, including its name, description, and input schema.
    {
      name: 'get_rising_sign_info',
      description: '获取指定上升星座的详细信息',
      inputSchema: {
        type: 'object',
        properties: {
          risingSign: {
            type: 'string',
            description: '上升星座名称(中文或英文)',
            enum: Object.keys(risingSignData).concat(Object.values(risingSignData).map(z => z.name))
          }
        },
        required: ['risingSign']
      }
    }
  • Input schema definition for the 'get_rising_sign_info' tool, specifying the required 'risingSign' parameter.
    inputSchema: {
      type: 'object',
      properties: {
        risingSign: {
          type: 'string',
          description: '上升星座名称(中文或英文)',
          enum: Object.keys(risingSignData).concat(Object.values(risingSignData).map(z => z.name))
        }
      },
      required: ['risingSign']
    }
  • Data object containing detailed information for all 12 rising signs, used by the handler to provide sign-specific details.
    const risingSignData = {
      aries: {
        name: '白羊座',
        english: 'Aries',
        symbol: '♈',
        traits: ['勇敢', '冲动', '领导力', '直接', '冒险'],
        description: '上升白羊座的人给人第一印象是勇敢、直接、充满活力。他们行动迅速,喜欢挑战,具有天生的领导才能。',
        appearance: '通常身材匀称,面部轮廓清晰,眼神坚定有神,走路带风。',
        personality: '性格外向,喜欢成为焦点,做事雷厉风行,但有时过于冲动。'
      },
      taurus: {
        name: '金牛座',
        english: 'Taurus',
        symbol: '♉',
        traits: ['稳重', '耐心', '务实', '固执', '享受'],
        description: '上升金牛座的人给人第一印象是稳重、可靠、有耐心。他们重视安全和稳定,喜欢美好的事物。',
        appearance: '通常身材结实,面部轮廓圆润,眼神温和,举止优雅从容。',
        personality: '性格温和但固执,重视物质享受,做事有条不紊,但有时过于保守。'
      },
      gemini: {
        name: '双子座',
        english: 'Gemini',
        symbol: '♊',
        traits: ['灵活', '好奇', '善变', '沟通', '学习'],
        description: '上升双子座的人给人第一印象是灵活、好奇、善于沟通。他们思维敏捷,适应能力强。',
        appearance: '通常身材苗条,面部表情丰富,眼神灵动,手势较多。',
        personality: '性格活泼,好奇心强,善于表达,但有时缺乏耐心和专注力。'
      },
      cancer: {
        name: '巨蟹座',
        english: 'Cancer',
        symbol: '♋',
        traits: ['敏感', '保护', '家庭', '直觉', '情感'],
        description: '上升巨蟹座的人给人第一印象是敏感、温和、有保护欲。他们情感丰富,重视家庭。',
        appearance: '通常身材圆润,面部表情温和,眼神温柔,举止亲切。',
        personality: '性格内向但温暖,直觉敏锐,重视安全感,但有时过于敏感。'
      },
      leo: {
        name: '狮子座',
        english: 'Leo',
        symbol: '♌',
        traits: ['自信', '慷慨', '领导', '戏剧性', '忠诚'],
        description: '上升狮子座的人给人第一印象是自信、大方、有魅力。他们天生具有领导气质。',
        appearance: '通常身材匀称,面部轮廓分明,眼神自信,举止优雅大方。',
        personality: '性格外向,喜欢成为焦点,慷慨大方,但有时过于自我中心。'
      },
      virgo: {
        name: '处女座',
        english: 'Virgo',
        symbol: '♍',
        traits: ['完美', '分析', '服务', '谦虚', '实用'],
        description: '上升处女座的人给人第一印象是细致、谦虚、有条理。他们注重细节,追求完美。',
        appearance: '通常身材匀称,面部轮廓清晰,眼神专注,举止得体。',
        personality: '性格内向,注重细节,服务意识强,但有时过于挑剔。'
      },
      libra: {
        name: '天秤座',
        english: 'Libra',
        symbol: '♎',
        traits: ['平衡', '和谐', '公正', '社交', '优雅'],
        description: '上升天秤座的人给人第一印象是优雅、和谐、有魅力。他们追求平衡,重视关系。',
        appearance: '通常身材匀称,面部轮廓优雅,眼神温和,举止优雅。',
        personality: '性格温和,追求和谐,善于社交,但有时优柔寡断。'
      },
      scorpio: {
        name: '天蝎座',
        english: 'Scorpio',
        symbol: '♏',
        traits: ['神秘', '强烈', '洞察', '忠诚', '激情'],
        description: '上升天蝎座的人给人第一印象是神秘、强烈、有魅力。他们洞察力强,情感深刻。',
        appearance: '通常身材匀称,面部轮廓深邃,眼神深邃,举止神秘。',
        personality: '性格内向但强烈,洞察力强,忠诚专一,但有时过于极端。'
      },
      sagittarius: {
        name: '射手座',
        english: 'Sagittarius',
        symbol: '♐',
        traits: ['乐观', '自由', '冒险', '哲学', '诚实'],
        description: '上升射手座的人给人第一印象是乐观、自由、充满活力。他们热爱冒险,追求真理。',
        appearance: '通常身材高大,面部轮廓开朗,眼神明亮,举止自然。',
        personality: '性格外向,乐观开朗,热爱自由,但有时过于直率。'
      },
      capricorn: {
        name: '摩羯座',
        english: 'Capricorn',
        symbol: '♑',
        traits: ['野心', '责任', '耐心', '实用', '纪律'],
        description: '上升摩羯座的人给人第一印象是稳重、有责任感、有野心。他们追求成功,重视纪律。',
        appearance: '通常身材结实,面部轮廓严肃,眼神坚定,举止稳重。',
        personality: '性格内向,有责任感,追求成功,但有时过于严肃。'
      },
      aquarius: {
        name: '水瓶座',
        english: 'Aquarius',
        symbol: '♒',
        traits: ['独立', '创新', '人道', '理性', '独特'],
        description: '上升水瓶座的人给人第一印象是独特、独立、有创新精神。他们思维独特,关心人类福祉。',
        appearance: '通常身材匀称,面部轮廓独特,眼神聪慧,举止独特。',
        personality: '性格独立,思维独特,富有创新精神,但有时过于理想化。'
      },
      pisces: {
        name: '双鱼座',
        english: 'Pisces',
        symbol: '♓',
        traits: ['同情', '直觉', '艺术', '梦想', '灵性'],
        description: '上升双鱼座的人给人第一印象是温柔、富有同情心、有艺术气质。他们直觉敏锐,富有想象力。',
        appearance: '通常身材柔软,面部轮廓柔和,眼神温柔,举止优雅。',
        personality: '性格温和,富有同情心,艺术天赋强,但有时过于理想化。'
      }
    };
  • Helper function that resolves a rising sign name (Chinese or English) to its lowercase key in risingSignData.
    function getRisingSignKey(risingSignName) {
      const lowerName = risingSignName.toLowerCase();
      if (risingSignData[lowerName]) {
        return lowerName;
      }
      
      for (const [key, data] of Object.entries(risingSignData)) {
        if (data.name === risingSignName || data.english.toLowerCase() === lowerName) {
          return key;
        }
      }
      return null;
    }
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states what the tool does without mentioning any behavioral traits like whether it's read-only, requires authentication, has rate limits, or what the output format might be. This is insufficient for a tool with no annotation coverage.

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?

The description is a single, efficient sentence in Chinese that directly states the tool's purpose without any unnecessary words. It's front-loaded and wastes no space, making it highly concise and well-structured.

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

Completeness2/5

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

Given the lack of annotations and output schema, the description is incomplete. It doesn't explain what '详细信息' (detailed information) entails, such as the structure or content of the returned data. For a tool with no structured output documentation, this leaves significant gaps in understanding how to interpret results.

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?

The input schema has 100% description coverage, with a clear enum list for the 'risingSign' parameter. The description adds no additional semantic context beyond what the schema provides, such as explaining the significance of the rising sign or how the information is structured. Baseline 3 is appropriate since the schema does the heavy lifting.

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 action ('获取' meaning 'get') and the resource ('指定上升星座的详细信息' meaning 'detailed information of a specified rising sign'), making the purpose evident. However, it doesn't explicitly differentiate from sibling tools like 'get_rising_sign' or 'get_zodiac_info', which might have overlapping functions.

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. With siblings such as 'get_rising_sign' and 'get_zodiac_info', there's no indication of how this tool differs in scope or context, leaving the agent to guess based on names 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/jlankellii/star-mcp'

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