Skip to main content
Glama
flyanima

Open Search MCP

by flyanima

search_ieee

Search IEEE Xplore for engineering and technology literature using filters for content type, publication year, and sort order to find relevant academic papers and standards.

Instructions

Search IEEE Xplore for engineering and technology literature

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query for IEEE literature (e.g., "machine learning", "5G networks", "quantum computing", "robotics")
maxResultsNoMaximum number of articles to return (1-200)
contentTypeNoContent type filter: all, journals, conferences, standards, books, coursesall
publicationYearNoPublication year range: all, 2020-2024, 2015-2019, 2010-2014, 2000-2009all
sortNoSort order: relevance, newest, oldest, citationsrelevance

Implementation Reference

  • The core handler function for 'search_ieee' tool that simulates IEEE Xplore search, generates mock academic articles with detailed metadata based on query parameters like contentType, publicationYear, etc.
    execute: async (args: any) => {
      const { query, maxResults = 20, contentType = 'all', publicationYear = 'all', sort = 'relevance' } = args;
    
      try {
        // 模拟IEEE搜索结果
        const mockArticles = Array.from({ length: Math.min(maxResults, 20) }, (_, i) => {
          const contentTypes = ['Journal Article', 'Conference Paper', 'IEEE Standard', 'Book Chapter', 'Course Material'];
          const venues = [
            'IEEE Transactions on Pattern Analysis and Machine Intelligence',
            'IEEE/ACM Transactions on Networking',
            'IEEE Transactions on Information Theory',
            'IEEE Computer Society Conference',
            'IEEE International Conference on Robotics and Automation'
          ];
          
          const yearRanges = {
            'all': [2000, 2024],
            '2020-2024': [2020, 2024],
            '2015-2019': [2015, 2019],
            '2010-2014': [2010, 2014],
            '2000-2009': [2000, 2009]
          };
          
          const [minYear, maxYear] = yearRanges[publicationYear as keyof typeof yearRanges];
          const pubYear = Math.floor(Math.random() * (maxYear - minYear + 1)) + minYear;
          
          return {
            articleId: `ieee_${Date.now()}_${i}`,
            title: `${query}: Advanced Research and Applications ${i + 1}`,
            abstract: `This paper presents a comprehensive study on ${query} with novel approaches and methodologies. We propose innovative solutions that address current challenges in the field. Our experimental results demonstrate significant improvements over existing methods, with potential applications in various engineering domains. The research contributes to the advancement of ${query} technology and provides insights for future developments.`,
            authors: [
              `Zhang, L.${i + 1}`,
              `Smith, J.${i + 1}`,
              `Kumar, R.${i + 1}`,
              `Johnson, M.${i + 1}`
            ],
            venue: venues[Math.floor(Math.random() * venues.length)],
            publicationYear: pubYear,
            contentType: contentType === 'all' ? contentTypes[Math.floor(Math.random() * contentTypes.length)] : contentType.replace('s', '').replace(/^\w/, (c: string) => c.toUpperCase()),
            doi: `10.1109/IEEE.${pubYear}.${9000000 + i}`,
            isbn: Math.random() > 0.5 ? `978-1-${Math.floor(Math.random() * 9000) + 1000}-${Math.floor(Math.random() * 900) + 100}-${Math.floor(Math.random() * 9)}` : null,
            pages: `${100 + i * 5}-${105 + i * 5}`,
            citationCount: Math.floor(Math.random() * 500) + 1,
            keywords: [
              query.toLowerCase(),
              'engineering',
              'technology',
              'innovation',
              'research'
            ],
            ieeeTerms: [
              `${query} - technology`,
              `${query} - applications`,
              'Engineering research',
              'Technical innovation'
            ],
            url: `https://ieeexplore.ieee.org/document/${9000000 + i}`,
            pdfUrl: `https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=${9000000 + i}`,
            openAccess: Math.random() > 0.7,
            volume: Math.floor(Math.random() * 50) + 1,
            issue: Math.floor(Math.random() * 12) + 1
          };
        });
    
        return {
          success: true,
          data: {
            source: 'IEEE Xplore',
            query,
            contentType,
            publicationYear,
            sort,
            totalResults: mockArticles.length,
            articles: mockArticles,
            timestamp: Date.now(),
            searchMetadata: {
              database: 'IEEE Xplore Digital Library',
              searchStrategy: 'Full-text and metadata search',
              filters: {
                contentType: contentType !== 'all' ? contentType : null,
                publicationYear: publicationYear !== 'all' ? publicationYear : null
              }
            }
          }
        };
      } catch (error) {
        return {
          success: false,
          error: error instanceof Error ? error.message : 'Failed to search IEEE Xplore'
        };
      }
    }
  • Input schema defining parameters for the search_ieee tool: query (required), maxResults, contentType, publicationYear, sort.
    inputSchema: {
      type: 'object',
      properties: {
        query: {
          type: 'string',
          description: 'Search query for IEEE literature (e.g., "machine learning", "5G networks", "quantum computing", "robotics")'
        },
        maxResults: {
          type: 'number',
          description: 'Maximum number of articles to return (1-200)',
          default: 20,
          minimum: 1,
          maximum: 200
        },
        contentType: {
          type: 'string',
          description: 'Content type filter: all, journals, conferences, standards, books, courses',
          default: 'all',
          enum: ['all', 'journals', 'conferences', 'standards', 'books', 'courses']
        },
        publicationYear: {
          type: 'string',
          description: 'Publication year range: all, 2020-2024, 2015-2019, 2010-2014, 2000-2009',
          default: 'all',
          enum: ['all', '2020-2024', '2015-2019', '2010-2014', '2000-2009']
        },
        sort: {
          type: 'string',
          description: 'Sort order: relevance, newest, oldest, citations',
          default: 'relevance',
          enum: ['relevance', 'newest', 'oldest', 'citations']
        }
      },
      required: ['query']
    },
  • Primary registration of the 'search_ieee' tool within registerIEEETools function, including name, description, schema, and execute handler.
    registry.registerTool({
      name: 'search_ieee',
      description: 'Search IEEE Xplore for engineering and technology literature',
      category: 'academic',
      source: 'IEEE',
      inputSchema: {
        type: 'object',
        properties: {
          query: {
            type: 'string',
            description: 'Search query for IEEE literature (e.g., "machine learning", "5G networks", "quantum computing", "robotics")'
          },
          maxResults: {
            type: 'number',
            description: 'Maximum number of articles to return (1-200)',
            default: 20,
            minimum: 1,
            maximum: 200
          },
          contentType: {
            type: 'string',
            description: 'Content type filter: all, journals, conferences, standards, books, courses',
            default: 'all',
            enum: ['all', 'journals', 'conferences', 'standards', 'books', 'courses']
          },
          publicationYear: {
            type: 'string',
            description: 'Publication year range: all, 2020-2024, 2015-2019, 2010-2014, 2000-2009',
            default: 'all',
            enum: ['all', '2020-2024', '2015-2019', '2010-2014', '2000-2009']
          },
          sort: {
            type: 'string',
            description: 'Sort order: relevance, newest, oldest, citations',
            default: 'relevance',
            enum: ['relevance', 'newest', 'oldest', 'citations']
          }
        },
        required: ['query']
      },
      execute: async (args: any) => {
        const { query, maxResults = 20, contentType = 'all', publicationYear = 'all', sort = 'relevance' } = args;
    
        try {
          // 模拟IEEE搜索结果
          const mockArticles = Array.from({ length: Math.min(maxResults, 20) }, (_, i) => {
            const contentTypes = ['Journal Article', 'Conference Paper', 'IEEE Standard', 'Book Chapter', 'Course Material'];
            const venues = [
              'IEEE Transactions on Pattern Analysis and Machine Intelligence',
              'IEEE/ACM Transactions on Networking',
              'IEEE Transactions on Information Theory',
              'IEEE Computer Society Conference',
              'IEEE International Conference on Robotics and Automation'
            ];
            
            const yearRanges = {
              'all': [2000, 2024],
              '2020-2024': [2020, 2024],
              '2015-2019': [2015, 2019],
              '2010-2014': [2010, 2014],
              '2000-2009': [2000, 2009]
            };
            
            const [minYear, maxYear] = yearRanges[publicationYear as keyof typeof yearRanges];
            const pubYear = Math.floor(Math.random() * (maxYear - minYear + 1)) + minYear;
            
            return {
              articleId: `ieee_${Date.now()}_${i}`,
              title: `${query}: Advanced Research and Applications ${i + 1}`,
              abstract: `This paper presents a comprehensive study on ${query} with novel approaches and methodologies. We propose innovative solutions that address current challenges in the field. Our experimental results demonstrate significant improvements over existing methods, with potential applications in various engineering domains. The research contributes to the advancement of ${query} technology and provides insights for future developments.`,
              authors: [
                `Zhang, L.${i + 1}`,
                `Smith, J.${i + 1}`,
                `Kumar, R.${i + 1}`,
                `Johnson, M.${i + 1}`
              ],
              venue: venues[Math.floor(Math.random() * venues.length)],
              publicationYear: pubYear,
              contentType: contentType === 'all' ? contentTypes[Math.floor(Math.random() * contentTypes.length)] : contentType.replace('s', '').replace(/^\w/, (c: string) => c.toUpperCase()),
              doi: `10.1109/IEEE.${pubYear}.${9000000 + i}`,
              isbn: Math.random() > 0.5 ? `978-1-${Math.floor(Math.random() * 9000) + 1000}-${Math.floor(Math.random() * 900) + 100}-${Math.floor(Math.random() * 9)}` : null,
              pages: `${100 + i * 5}-${105 + i * 5}`,
              citationCount: Math.floor(Math.random() * 500) + 1,
              keywords: [
                query.toLowerCase(),
                'engineering',
                'technology',
                'innovation',
                'research'
              ],
              ieeeTerms: [
                `${query} - technology`,
                `${query} - applications`,
                'Engineering research',
                'Technical innovation'
              ],
              url: `https://ieeexplore.ieee.org/document/${9000000 + i}`,
              pdfUrl: `https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=${9000000 + i}`,
              openAccess: Math.random() > 0.7,
              volume: Math.floor(Math.random() * 50) + 1,
              issue: Math.floor(Math.random() * 12) + 1
            };
          });
    
          return {
            success: true,
            data: {
              source: 'IEEE Xplore',
              query,
              contentType,
              publicationYear,
              sort,
              totalResults: mockArticles.length,
              articles: mockArticles,
              timestamp: Date.now(),
              searchMetadata: {
                database: 'IEEE Xplore Digital Library',
                searchStrategy: 'Full-text and metadata search',
                filters: {
                  contentType: contentType !== 'all' ? contentType : null,
                  publicationYear: publicationYear !== 'all' ? publicationYear : null
                }
              }
            }
          };
        } catch (error) {
          return {
            success: false,
            error: error instanceof Error ? error.message : 'Failed to search IEEE Xplore'
          };
        }
      }
    });
  • src/index.ts:231-231 (registration)
    Top-level registration call in the main server initialization that invokes registerIEEETools to add search_ieee to the tool registry.
    registerIEEETools(this.toolRegistry);               // 1 tool: search_ieee
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure but offers minimal information. It doesn't mention whether this is a read-only operation, potential rate limits, authentication requirements, pagination behavior, or what the output format looks like. For a search tool with no annotation coverage, this leaves significant gaps in understanding how the tool behaves.

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 that states the core purpose without unnecessary words. It's appropriately sized for a search tool and front-loads the essential information. Every word earns its place in this concise formulation.

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 insufficiently complete. For a search tool with 5 parameters and no structured output information, the description should provide more context about what results look like, any limitations, or behavioral characteristics. The current description leaves too much undefined for effective tool selection and invocation.

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 description adds no parameter-specific information beyond what's already in the schema, which has 100% coverage with detailed descriptions for all 5 parameters. The baseline score of 3 is appropriate since the schema does all the heavy lifting, though the description could have provided context about how parameters interact or typical use cases.

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 verb ('Search') and resource ('IEEE Xplore for engineering and technology literature'), making the purpose immediately understandable. It distinguishes from many siblings like 'search_arxiv' or 'search_pubmed' by specifying the IEEE Xplore database, though it doesn't explicitly differentiate from 'ieee_conferences' or 'ieee_standards_search' which are more specific IEEE tools.

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?

No guidance is provided on when to use this tool versus alternatives. While the description mentions 'IEEE Xplore', it doesn't explain when to choose this over other search tools like 'search_semantic_scholar' or more specific IEEE tools like 'ieee_standards_search'. The agent must infer usage from the tool name and description 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/flyanima/open-search-mcp'

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