Skip to main content
Glama

Raw Classroom RPC

raw_rpc
Destructive

Calls a Google Classroom web-client batchexecute RPC by ID with a JSON payload and returns the decoded response; supports writes, so use only when you know the RPC.

Instructions

Advanced: call any Classroom web-client batchexecute RPC by id with a JSON payload and return the decoded response. Can perform writes; use only if you know the RPC.

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": {
      "rpc_id": "<rpc_id>",
      "payload": "<payload>"
    },
    "name": "raw_rpc"
  }
}

Input Schema

NameRequiredDescriptionDefault
rpc_idYese.g. pONvgf
payloadYesJSON payload (inner request array)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so 'Can perform writes' largely restates what the agent already knows. The one genuine addition beyond structured fields is that the tool returns the decoded response rather than raw batchexecute output, which matters because there is no output schema. It says nothing about failure modes, auth requirements, or the consequences of a malformed payload.

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, zero filler, with the 'Advanced' warning front-loaded ahead of the mechanical description. Nothing in it could be removed without losing meaning.

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 destructive, open-world raw escape hatch the definition covers purpose, gating condition, and return behavior, and the annotations carry the safety profile. A brief note on expected failure behavior or payload validation would round it out, but an agent has enough to decide whether and how to call it.

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 schema already documents both parameters, and the description adds only that the payload is passed 'by id' with a JSON payload. Neither source explains the payload's internal array structure beyond 'inner request array', but with full coverage the baseline of 3 applies.

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 states a specific verb and resource: invoking any Classroom batchexecute RPC by id with a JSON payload, and returning the decoded response. That scope is inherently distinct from the typed siblings (list_courses, get_course, etc.), so an agent can tell it apart without opening a schema, though it never names 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 Guidelines4/5

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

'Advanced' and 'use only if you know the RPC' establish a clear gating condition for when this escape hatch is appropriate versus the typed tools. It stops short of naming the specific alternative tools or saying explicitly 'prefer the dedicated tools when one exists,' so it is clear context rather than full routing guidance.

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