Skip to main content
Glama

kiota_client_add

Add a new API client configuration to the workspace using an OpenAPI spec and target language, creating an entry in kiota-config.json.

Instructions

Add a new API client configuration to the workspace. Creates an entry in kiota-config.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageYesTarget programming language for the generated client
namespaceNoOptional: Namespace or package name for generated code
clientNameYesUnique name for this API client (e.g., 'github', 'stripe-api')
outputPathNoOptional: Directory where generated code will be placed (default: './output/<clientName>')
openApiPathYesPath to the OpenAPI specification file (local path or HTTPS URL)
includeAdditionalDataNoOptional: Include additional data in generated models (default: true)
Behavior2/5

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

No annotations are present, so the description must fully disclose behavior. It states that it creates an entry in kiota-config.json, but it does not address side effects like overwriting existing entries, whether the config file must already exist, validation of the OpenAPI path, or any permissions required. This is insufficient for a mutation tool.

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 two sentences with no fluff or redundancy. It is front-loaded with the primary action and adds specificity with the configuration file mention, making it appropriately concise.

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?

For a tool with 6 parameters, no output schema, and no annotations, this description is too minimal. It fails to explain return values, conflict handling, or how this command integrates with the other kiota commands, leaving significant gaps for the agent.

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

Parameters3/5

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

The input schema provides descriptions for all 6 parameters, achieving 100% coverage. The description adds no additional parameter-level meaning, so the baseline score of 3 is appropriate; the schema does the heavy lifting.

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

Purpose5/5

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

The description clearly identifies the tool's function: adding a new API client configuration and creating an entry in the workspace's kiota-config.json. This specific verb-resource pairing distinguishes it from sibling tools like kiota_client_edit and kiota_client_remove.

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?

There is no guidance on when to use this tool versus alternatives such as kiota_client_edit or kiota_client_generate. It does not mention prerequisites, exclusions, or what happens if a client with the same name already exists, leaving the agent to infer usage from the tool name alone.

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/sebastienlevert/kiota-mcp'

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