Skip to main content
Glama
example-agent-call.json3.01 kB
{ "description": "Example MCP tool calls for collecting data for employee performance analysis", "scenario": "Collect data for analyzing employee 'johndoe' contributions in Q1 2024", "calls": [ { "tool": "github.getAuthoredPRs", "input": { "username": "johndoe", "from": "2024-01-01T00:00:00Z", "to": "2024-03-31T23:59:59Z", "repos": ["company/backend", "company/frontend"] }, "expected_output_structure": { "prs": [ { "id": "PR_kwDO...", "repo": "company/backend", "title": "Implement authentication middleware", "createdAt": "2024-02-15T10:30:00Z", "mergedAt": "2024-02-18T14:20:00Z", "state": "MERGED", "filesChanged": 5, "additions": 120, "deletions": 45 } ] } }, { "tool": "github.getPRReviews", "input": { "username": "johndoe", "from": "2024-01-01T00:00:00Z", "to": "2024-03-31T23:59:59Z" }, "expected_output_structure": { "reviews": [ { "id": "PRR_kwDO...", "state": "APPROVED", "prId": "PR_kwDO...", "prNumber": 123, "prTitle": "Add feature X", "prRepo": "company/backend", "submittedAt": "2024-02-20T09:15:00Z" } ] } }, { "tool": "github.getReviewComments", "input": { "username": "johndoe", "from": "2024-01-01T00:00:00Z", "to": "2024-03-31T23:59:59Z" }, "expected_output_structure": { "comments": [ { "id": "PRRC_kwDO...", "body": "Consider extracting this logic into a separate function", "filePath": "src/auth/middleware.ts", "lineNumber": 42, "prId": "PR_kwDO...", "prNumber": 123, "prTitle": "Add feature X", "prRepo": "company/backend", "timestamp": "2024-02-20T09:15:00Z", "reviewId": "PRR_kwDO..." } ] } }, { "tool": "github.getCommentImpact", "input": { "username": "johndoe", "from": "2024-01-01T00:00:00Z", "to": "2024-03-31T23:59:59Z" }, "expected_output_structure": { "impacts": [ { "commentId": "PRRC_kwDO...", "prId": "PR_kwDO...", "hadImpact": true, "confidence": 0.7, "evidence": [ "Commit abc1234 modified files after comment (3 files)" ] } ] } } ], "notes": [ "All timestamps must be ISO 8601 format", "Username is case-insensitive and @ prefix is optional", "Time ranges are inclusive (from <= createdAt <= to)", "PR IDs are GraphQL node IDs, not PR numbers", "Comment impact analysis uses heuristics and may have varying confidence scores" ] }

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/radireddy/github-mcp'

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