plurk_get_mentions_context
Retrieve recent mentions and conversation context from Plurk to plan replies or create summaries using authenticated credentials.
Instructions
Return recent mention-driven interactions and context suitable for summarization or reply planning for the supplied credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credentials | Yes | ||
| limit | No |
Implementation Reference
- src/services/plurkApplication.ts:124-136 (handler)The implementation of the getMentionsContext method in the PlurkApplication service, which executes the business logic for fetching mention-driven interactions.
public async getMentionsContext( adapterSource: AdapterSource, credentials: PlurkCredentialsInput, limit = 20, ): Promise<MentionContext[]> { return this.runReadAction( "get-mentions-context", adapterSource, credentials, async (context) => context.client.getMentionsContext(context.profile.nickName ?? "", limit), ); } - src/transports/mcp/toolCatalog.ts:46-55 (registration)The registration of the 'plurk_get_mentions_context' tool in the MCP tool catalog, mapping it to the application service call.
name: "plurk_get_mentions_context", description: "Return recent mention-driven interactions and context suitable for summarization or reply planning for the supplied credentials.", inputSchema: z.object({ credentials: credentialsSchema, limit: positiveLimitSchema, }), execute: async ({ credentials, limit }) => application.getMentionsContext("mcp", credentials, limit), },