Skip to main content
Glama

invoke

Google-OAuth-gated LLM gateway: verify a Google ID token, then run a Gemini (Vertex AI) completion for the verified caller.

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": {
      "input": "<input>"
    },
    "name": "invoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesJSON request for this capability (the same body you'd send as an A2A message).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose the important traits: authentication via Google ID token verification, a Gemini/Vertex AI backend, and that it performs a paid, non-idempotent model call. It omits error behavior on verification failure, latency/cost characteristics, and what happens to the caller's token, which is a real gap for an unannotated gateway.

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?

A single front-loaded sentence that names the auth gate before the operation, with no filler. It is appropriately sized for a thin wrapper, though it leaves no room for the request-shape detail an agent needs.

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?

This is an auth-gated gateway with one free-form JSON parameter and no output schema, so the description should explain the request body and the response shape. It explains neither, leaving an agent unable to construct the call from the definition alone.

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?

Schema description coverage is 100%, so the baseline is 3, and the description adds essentially nothing about the single 'input' parameter. That parameter is an opaque JSON blob ('the same body you'd send as an A2A message'), so the description could have compensated by naming expected request fields, but it does not.

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 gives a concrete verb chain and resource: verify a Google ID token, then run a Gemini (Vertex AI) completion for that caller. That is far more specific than the generic name 'invoke' and tells an agent exactly what happens. It does not contrast with the sibling 'selftest', so it falls short of a 5.

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?

Usage is only implied: the description signals the caller must present a Google ID token and that the result is an LLM completion. There is no explicit when-to-use/when-not statement, no mention of the 'selftest' alternative, and no guidance on failure or retry cases.

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.