Skip to main content
Glama
fundfluent-admin

FluentLab Funding Assistant

get-funding-options

Find available grants and funding opportunities with eligibility criteria and application details to support your project financing needs.

Instructions

Retrieve available funding opportunities with detailed information including name and description. Use this tool when users need to explore available grants, funds, or financing opportunities. The results include program names, descriptions, eligibility criteria, and application details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitYes
pageYes

Implementation Reference

  • Handler function that executes the tool logic by querying FluentLab API and returning JSON results.
    handler: async (params) => { const fundingOptions = await fluentLab.fundingOption.getFundingOptions(params); if (fundingOptions.isOk()) { return { content: [ { type: 'text', text: JSON.stringify(fundingOptions.value, null, 2), mimeType: "application/json" } ] }; } else { // Error handling is now done by middleware, just throw the original error throw fundingOptions.error; } }
  • Zod schema defining the input parameters for the getFundingOptions tool (limit and page).
    export const FundingOptionQuerySchema = z.object({ limit: z.number().int().positive().min(1).max(100), page: z.number().int().positive().min(1), });
  • Helper method in FundingOption class that performs the actual API request to retrieve funding options from FluentLab.
    async getFundingOptions(query: TFundingOptionQuery): Promise<ResultAsync<TFundingOptionPage, TApiError>> { try { const res = await this.axiosInstance.get('mcp/funding-options', { params: query }); return ok(res.data); } catch (error: unknown) { if (error instanceof AxiosError) { if (error.response?.status === 401) return err({ type: 'API_UNAUTHORIZED_ERROR', error, }) return err({ type: 'AXIOS_ERROR', error, }) } return err({ type: 'UNKNOWN_ERROR', error, }) } }
  • src/tools/index.ts:5-7 (registration)
    Registration of the getFundingOptionsTool in the central tool registry using its name.
    export const toolRegistry: ToolRegistry = { [getFundingOptionsTool.definition.name]: getFundingOptionsTool, };
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/fundfluent-admin/funding-assistant'

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