Skip to main content
Glama

Vertex gemini generate

vertex.gemini.generate
Read-onlyIdempotent

Generates prompt-based creative copy and long-form text with Gemini for marketing content, applying Vertex generation costs.

Instructions

Generate text with Gemini (creative copy/long-form). Incurs Vertex generation cost.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "vertex.gemini.generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNogemini-3.8-flash
promptYes
max_tokensNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful non-schema context in disclosing that invocation incurs Vertex generation cost, but says nothing about rate limits, quota, model selection consequences, or latency for a billed external call.

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?

Two sentences, both front-loaded with the highest-value information: what it does and what it costs. No filler, no restating of the title.

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?

With an output schema present, return values need not be described, but for a generative tool with zero schema coverage and a cost implication, the definition is thin. It omits any guidance on model choice, prompt construction, or token budgeting, leaving the agent to guess at the three parameters.

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% across three parameters, so the description carries the full burden of explaining model, prompt and max_tokens. It adds no meaning at all beyond the parameter names — the default model "gemini-3.8-flash", token limits, and prompt formatting expectations go entirely 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?

States a specific verb and resource ("Generate text with Gemini") and narrows scope with "creative copy/long-form", which is far more informative than the tautological title. It stops short of distinguishing itself from the close sibling vertex.gemini.generate_ad_copy, leaving the agent to infer which generator applies to ad-specific copy.

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

Usage Guidelines3/5

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

The parenthetical "creative copy/long-form" implies the appropriate use case, but no alternative tool is named and no when-not condition is given. An agent choosing between this and vertex.gemini.generate_ad_copy gets no explicit routing rule.

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

Deploy Server

Other Tools