Skip to main content
Glama

chat_gemini_pro

Запрос к Gemini 3 Pro через вашу подписку Google AI Pro.

    Использует ваш подключённый Google-аккаунт (подключите на /connect-google).
    Расходует вашу квоту Google, не наши токены.

    Args:
        messages: список {"role": "user|assistant", "content": "..."}.
        system: системный промпт (опционально).
        max_tokens: максимальное количество токенов в ответе (по умолчанию 65536 — максимум модели,
            допустимо 1..65536). ВАЖНО: токены «размышления» Gemini 3 входят в этот
            лимит — при малом значении ответ обрывается (finish_reason "length").
        thinking_budget: бюджет токенов на размышление (необязательно): 0 — выключить
            (если модель позволяет), -1 — динамически, N — верхняя граница.
        thinking_level: уровень размышления (необязательно): "low" | "high"
            (у Flash ещё "minimal" / "medium"). Приоритетнее thinking_budget.
        account_email: форсировать конкретный Google-аккаунт из вашего пула
            (например, "user@gmail.com"). Если такого в пуле нет — ошибка.
        account_tag: форсировать аккаунты с указанным тэгом (round-robin
            по подмножеству пула; тэги назначаются в кабинете).

    Returns:
        {"text": str, "usage": {"input_tokens": int, "output_tokens": int}}.

    Raises:
        MCPError: если ключ невалиден, Google не подключён, или квота исчерпана.
    

Input Schema

NameRequiredDescriptionDefault
systemNo
messagesYes
max_tokensNo
account_tagNo
account_emailNo
thinking_levelNo
thinking_budgetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / max_tokens / default
      Previous value: -2000New value: +65536
    • addedInput schema / properties / thinking_budget
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Thinking Budget"
      +}
    • addedInput schema / properties / thinking_level
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Thinking Level"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / account_email
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Account Email"
      +}
    • addedInput schema / properties / account_tag
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Account Tag"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that calls bill against the user's Google quota, that the account must be connected first, the exact failure modes (invalid key, Google not connected, quota exhausted), and the return shape. It also flags a non-obvious behavior — thinking tokens count against max_tokens, so a low limit truncates output with finish_reason 'length' — which an agent could not infer from the schema.

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?

Front-loads the model identity and the billing/routing distinction before the Args block, so an agent gets the decisive information in the first two lines. It is long, and the Args section partially duplicates schema field names, but with 0% schema coverage that repetition is doing real work rather than padding.

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

Completeness4/5

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

For a 7-parameter open-world LLM call with no output schema, the description supplies return structure, error behavior, quota implications, and full parameter semantics — nothing essential for calling it correctly is missing. The only shortfall is the absence of model-selection guidance relative to the flash/sonnet siblings.

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

Parameters5/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 carry the full burden and it does: every one of the 7 parameters is documented, including the messages role/content shape, the max_tokens range 1..65536, thinking_budget's special values (0 / -1 / N), thinking_level's allowed values and its precedence over thinking_budget, and the error semantics of account_email when the account is absent from the pool.

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?

States a specific verb+resource — a chat request to Gemini 3 Pro — and immediately qualifies the routing model: it runs through the user's own Google AI Pro subscription and Google account. This lets an agent tell it apart from chat_gemini_flash and chat_claude_sonnet without opening any schema, since the model and billing path are named explicitly.

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?

Gives a prerequisite ('подключите на /connect-google') and the cost implication ('Расходует вашу квоту Google, не наши токены'), which implies usage context but never states when to pick this over chat_gemini_flash or chat_claude_sonnet, nor any when-not-to-use condition. Usage is inferable from the model name rather than guided.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.