Skip to main content
Glama
tool-tests.yaml2.03 kB
tools: expected_tool_list: ['introspect', 'execute', 'search', 'validate', 'SearchUpcomingLaunches', 'ExploreCelestialBodies', 'GetAstronautDetails', 'GetAstronautsCurrentlyInSpace'] tests: - name: 'Introspection of launches query' tool: 'introspect' params: type_name: launches depth: 1 expect: success: true - name: 'Search for launches query' tool: 'search' params: terms: ['launches'] expect: success: true result: contains: 'launches(search: String, limit: Int = 5, offset: Int = 0): LaunchConnection' - name: 'Validate a valid launches query' tool: 'validate' params: operation: > query GetLaunches { launches { results { id name launchDesignator } } } expect: success: true result: contains: 'Operation is valid' - name: 'Validates an invalid query' tool: 'validate' params: operation: > query { invalidField } expect: success: false error: contains: 'Error: type `Query` does not have a field `invalidField`' - name: 'Validates a launches query with an invalid field' tool: 'validate' params: operation: > query GetLaunches { launches { results { id invalid } } } expect: success: false error: contains: 'Error: type `Launch` does not have a field `invalid`' - name: 'Validates a launches query with an missing argument' tool: 'validate' params: operation: > query Agency { agency { id } } expect: success: false error: contains: 'Error: the required argument `Query.agency(id:)` is not provided'

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/apollographql/apollo-mcp-server'

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