Skip to main content
Glama

get_becky_shared_projects

Retrieve projects owned by Becky that are shared for handling tasks in her designated scope per Brian's instructions.

Instructions

Get projects that belong to Becky and are shared for tasks in her ballpark to handle per Brian

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_becky_shared_projects' tool. It executes the core service function, formats the response as MCP content, and handles errors.
    handler: async () => { console.error('Executing get_becky_shared_projects...'); try { const result = await getBeckySharedProjects(); console.error('get_becky_shared_projects completed successfully'); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; } catch (error) { throw new Error( `Failed to get Becky shared projects: ${ error instanceof Error ? error.message : 'Unknown error' }` ); } },
  • Schema definition for the tool, specifying name, description, and empty input schema (no parameters required).
    schema: { name: 'get_becky_shared_projects', description: 'Get projects that belong to Becky and are shared for tasks in her ballpark to handle per Brian', inputSchema: { type: 'object', properties: {}, required: [], }, },
  • Registration of the tool handler in the toolsWithoutArgs registry, mapping 'get_becky_shared_projects' to getBeckySharedProjectsTool.handler.
    get_becky_shared_projects: getBeckySharedProjectsTool.handler,
  • Helper function implementing the core logic: fetches all projects and filters those that are Becky shared using isBeckySharedProject utility.
    export async function getBeckySharedProjects(): Promise<ProjectsResponse> { try { const allProjects = await listProjects(); const filteredProjects = allProjects.projects.filter(isBeckySharedProject); return { projects: filteredProjects, total_count: filteredProjects.length, }; } catch (error) { throw new Error( `Failed to get Becky shared projects: ${getErrorMessage(error)}` ); } }
  • src/index.ts:89-89 (registration)
    The tool schema is included in the list of tools returned by ListToolsRequestHandler.
    getBeckySharedProjectsTool.schema,

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/bkotos/todoist-mcp'

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