Skip to main content
Glama
ajragusa

perfsonar-mcp

by ajragusa

get_test_result

Retrieve completed network performance test results from perfSONAR to analyze throughput, latency, and packet loss measurements.

Instructions

Get result of a completed pScheduler test.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runUrlYesRun URL from test scheduling

Implementation Reference

  • The 'get_test_result' tool implementation in 'fastmcp_server.py' which uses the 'pscheduler_client' to fetch test results.
    async def get_test_result(runUrl: str) -> str:
        """Get result of a completed pScheduler test.
    
        Args:
            runUrl: Run URL from test scheduling response
    
        Returns:
            JSON string with test results, or message if test not completed yet
        """
        result = await pscheduler_client.get_result(runUrl)
        if result:
            return json.dumps(result.model_dump(), indent=2)
        else:
            return json.dumps({"message": "Test not completed yet"})

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/ajragusa/perfsonar-mcp'

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