Skip to main content
Glama

get_project_context

Retrieve context and recommendations for a Google Cloud project by project ID, so you can review details before provisioning, deploying, or managing resources.

Instructions

Get context and recommendations for a specific Google Cloud project. Use this to see project details before making decisions.

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": {
      "projectId": "<projectId>"
    },
    "name": "get_project_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesGoogle Cloud project ID or name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, yet it never states that this is a read-only/non-mutating operation, what 'context' or 'recommendations' actually contain, or any cost, latency, or permission implications. Only the implicit framing ('see project details') hints at a safe read.

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?

Two short sentences, front-loaded with the action and resource, with no redundant phrasing. The second sentence is thin but not wasteful.

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, so the description is the only place an agent could learn what 'context and recommendations' returns, and it never does — no indication of fields, structure, or whether recommendations are actionable. For a tool whose entire value is its return payload, this leaves a significant gap.

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?

There is a single parameter with 100% schema description coverage ('Google Cloud project ID or name'), so the schema already documents it fully. The description adds nothing beyond restating 'a specific Google Cloud project' — no note on ID vs. name resolution or whether the project must exist.

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

Purpose3/5

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

The description names a verb ('Get') and a resource ('context and recommendations for a specific Google Cloud project') and adds 'project details', but 'context' is vague and overlaps heavily with siblings such as get_env and list_projects. Nothing in the text distinguishes this tool's output from those alternatives.

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?

'Use this to see project details before making decisions' implies a pre-decision inspection use case, which is a genuine but generic usage hint. There is no statement of when not to use it, no named alternative (e.g. list_projects vs get_env), and no prerequisites mentioned.

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