Skip to main content
Glama

searchIssues

Search Backlog issues by project, keywords, and status to find specific tasks or track progress in your workflow.

Instructions

Backlogの課題を検索します

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesプロジェクトID(数値)
keywordNo検索キーワード
statusNoステータス(未対応、処理中、処理済み、完了)

Implementation Reference

  • MCP CallToolRequest handler specifically for 'searchIssues': validates input arguments using searchIssuesSchema and delegates execution to BacklogClient.searchIssues
    case 'searchIssues': { const args = this.validateAndCastArguments<SearchIssuesArgs>( request.params.arguments, searchIssuesSchema ); return { content: [ { type: 'text', text: JSON.stringify( await this.backlogClient.searchIssues(args), null, 2 ), }, ], }; }
  • Core handler function in BacklogClient that executes the searchIssues tool logic by calling Backlog API /issues endpoint
    async searchIssues(args: SearchIssuesArgs): Promise<BacklogIssue[]> { try { const response = await this.client.get('/issues', { params: { 'projectId[]': [args.projectId], keyword: args.keyword, 'statusId[]': args.status?.map(this.getStatusId), }, }); return response.data; } catch (error) { if (axios.isAxiosError(error)) { throw new Error(`Backlog API error: ${error.response?.data.message ?? error.message}`); } throw error; } }
  • Input schema (JSON Schema) for the searchIssues tool defining parameters: projectId (required), keyword, status array
    export const searchIssuesSchema = { type: 'object', properties: { projectId: { type: 'number', description: 'プロジェクトID(数値)', }, keyword: { type: 'string', description: '検索キーワード', }, status: { type: 'array', items: { type: 'string', }, description: 'ステータス(未対応、処理中、処理済み、完了)', }, }, required: ['projectId'], } as const;
  • src/index.ts:90-93 (registration)
    Registration of the searchIssues tool in the ListTools response, including name, description, and inputSchema reference
    name: 'searchIssues', description: 'Backlogの課題を検索します', inputSchema: searchIssuesSchema, },
  • TypeScript interface definition for SearchIssuesArgs used in handler validation and typing
    export interface SearchIssuesArgs { projectId: number; keyword?: string; status?: string[]; }
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/jootsuki/backlog-mcp-server'

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