Skip to main content
Glama
Dianel555

Paper Search MCP

by Dianel555

get_platform_status

Check the operational status and available capabilities of academic paper platforms to verify which services are currently accessible for research queries.

Instructions

Check the status and capabilities of available academic platforms

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
validateNoWhether to validate configured API keys by making a real request (may trigger rate limits). Default: false.

Implementation Reference

  • Main handler logic for the 'get_platform_status' tool. Iterates over all searchers/platforms, gathers capabilities, API key status (optionally validates if requested), special info for Sci-Hub mirrors, and returns formatted status JSON.
    case 'get_platform_status': {
      const { validate } = args;
      const statusInfo: any[] = [];
    
      for (const [platformName, searcher] of Object.entries(searchers)) {
        if (platformName === 'wos' || platformName === 'scholar') continue;
    
        const capabilities = (searcher as PaperSource).getCapabilities();
        const hasApiKey = (searcher as PaperSource).hasApiKey();
    
        let apiKeyStatus = 'not_required';
        if (capabilities.requiresApiKey) {
          if (hasApiKey) {
            if (validate) {
              try {
                const isValid = await (searcher as PaperSource).validateApiKey();
                apiKeyStatus = isValid ? 'valid' : 'invalid';
              } catch {
                apiKeyStatus = 'unknown';
              }
            } else {
              apiKeyStatus = 'configured';
            }
          } else {
            apiKeyStatus = 'missing';
          }
        }
    
        let additionalInfo: any = {};
        if (platformName === 'scihub') {
          const mirrorStatus = searchers.scihub.getMirrorStatus();
          additionalInfo = {
            mirrorCount: mirrorStatus.length,
            workingMirrors: mirrorStatus.filter(m => m.status === 'Working').length
          };
        }
    
        statusInfo.push({
          platform: platformName,
          baseUrl: (searcher as PaperSource).getBaseUrl(),
          capabilities,
          apiKeyStatus,
          ...additionalInfo
        });
      }
    
      return jsonTextResponse(`Platform Status:\n\n${JSON.stringify(statusInfo, null, 2)}`);
    }
  • Zod input schema validation for 'get_platform_status' tool. Defines optional 'validate' boolean parameter to control API key validation.
    export const GetPlatformStatusSchema = z
      .object({
        validate: z.boolean().optional().default(false)
      })
      .strip();
  • Tool registration in MCP TOOLS array. Specifies name, description, and JSON input schema for the MCP server.
    {
      name: 'get_platform_status',
      description: 'Check the status and capabilities of available academic platforms',
      inputSchema: {
        type: 'object',
        properties: {
          validate: {
            type: 'boolean',
            description:
              'Whether to validate configured API keys by making a real request (may trigger rate limits). Default: false.'
          }
        }
      }
    },
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. While 'Check' implies a read-only operation, it doesn't specify what 'status and capabilities' includes (uptime, rate limits, authentication requirements, available features). The description mentions capabilities but doesn't detail what information is returned or any behavioral constraints.

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 communicates the core purpose without unnecessary words. It's appropriately sized for a simple status-checking tool and front-loads the essential information.

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?

For a tool with no annotations and no output schema, the description is insufficiently complete. It doesn't explain what 'status and capabilities' means in practice, what format the information is returned in, or how this differs from the many search-focused sibling tools. The agent would need to guess about the tool's behavior and output.

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?

With 100% schema description coverage for the single parameter, the schema already fully documents the 'validate' parameter. The description adds no additional parameter information beyond what's in the schema, so it meets the baseline expectation but doesn't provide extra value.

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 tool's purpose with a specific verb ('Check') and resource ('status and capabilities of available academic platforms'), making it immediately understandable. However, it doesn't explicitly distinguish this from sibling tools that focus on searching or downloading content rather than platform status checking.

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 many sibling tools focused on searching specific databases, there's no indication whether this should be used before attempting searches, when troubleshooting, or as a general health check. The lack of usage context is a significant gap.

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/Dianel555/paper-search-mcp-nodejs'

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