Skip to main content
Glama

generate_tabnine_config

Create a Tabnine configuration file to customize AI code completion settings for specific programming languages and project requirements.

Instructions

Generates a .tabnine.json configuration file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNameYes
languagesYes

Implementation Reference

  • The main handler function that executes the tool logic: generates a .tabnine.json configuration file based on project name and languages provided as input.
    export function generateTabnineConfigHandler(args: any) {
        const { projectName, languages } = args;
        const content = JSON.stringify({
            "version": "1.0.0",
            "project_name": projectName,
            "enabled": true,
            "languages": languages.reduce((acc: any, lang: string) => {
                acc[lang] = { "enabled": true };
                return acc;
            }, {}),
            "completion": {
                "inline": true,
                "full_line": true
            }
        }, null, 2);
        return { content: [{ type: "text", text: content }] };
    }
  • Zod schema defining the input parameters (projectName and languages) and metadata for the tool.
    export const generateTabnineConfigSchema = {
        name: "generate_tabnine_config",
        description: "Generates a .tabnine.json configuration file.",
        inputSchema: z.object({
            projectName: z.string(),
            languages: z.array(z.string())
        })
    };
  • src/index.ts:108-108 (registration)
    Registration of the tool in the main stdio server's toolRegistry Map.
    ["generate_tabnine_config", { schema: generateTabnineConfigSchema, handler: generateTabnineConfigHandler }],
  • src/server.ts:114-114 (registration)
    Registration of the tool in the HTTP server's toolRegistry Map.
    ["generate_tabnine_config", { schema: generateTabnineConfigSchema, handler: generateTabnineConfigHandler }],
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It states 'Generates' which implies a write operation, but doesn't disclose behavioral traits like file creation location, overwrite behavior, permissions needed, or output format. This is inadequate for a tool that creates files.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It's appropriately sized and front-loaded, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of generating a configuration file, no annotations, no output schema, and 0% schema coverage, the description is incomplete. It doesn't cover parameter meanings, behavioral details, or output expectations, making it insufficient for effective tool use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds no meaning beyond the schema, failing to explain what 'projectName' or 'languages' represent, their formats, or examples. This leaves parameters undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Generates' and the resource '.tabnine.json configuration file', making the purpose unambiguous. However, it doesn't differentiate from sibling tools like generate_aider_config or generate_claude_config, which follow the same pattern for different configuration files, so it lacks sibling distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context, or exclusions, leaving the agent with no usage instructions beyond the basic purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/millsydotdev/Code-MCP'

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