Skip to main content
Glama

proto_generate_client

Generate typed client code from proto files in a specified directory. Convert Protocol Buffer definitions into a type-safe API client for your project.

Instructions

Generate typed client from proto files (Pro feature)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNo
directoryYesProject directory
Behavior2/5

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

There are no annotations, so the description carries the full behavioral burden. It only adds the 'Pro feature' label, which hints at access requirements, but it does not disclose whether files are written to disk, what client language/format is produced, whether authentication or API credentials are needed, or what the operation changes.

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

Conciseness4/5

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

The description is a single front-loaded sentence with no filler, and the 'Pro feature' parenthetical adds a useful constraint. It is appropriately terse for the information it carries, though it could include more behavioral detail without becoming bloated.

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?

There is no output schema and no annotations, and the description does not specify the generated client's language or format, whether code is written to files, or when the optional api_key is required. For a tool with only two parameters and no return-value documentation, this leaves important invocation details to guesswork.

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 schema describes 'directory' as 'Project directory', and the description adds that this is about generating from proto files, giving the directory a more concrete role. However, 'api_key' has no description anywhere, and the 'Pro feature' hint does not fully explain when or why the key is needed, so the description only partially compensates for the 50% schema coverage.

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 a specific verb ('Generate'), resource ('typed client'), and source ('proto files'), so an agent knows the core action. It does not explicitly compare with sibling tools like proto_generate_services or proto_generate_schema, but the word 'client' provides reasonable differentiation.

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?

No guidance is given about when to pick this tool over alternatives. The agent is left to infer that it should be used when generating a client from proto files, but there are no exclusions, prerequisites, or hints about choosing between this and the related proto generation tools.

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/barnburner121/claude-plugin-marketplace'

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