Skip to main content
Glama

Get business context

get_business_context
Read-only

Get the AI-classified business purpose and tag for a sheet, if it has already been generated. Never triggers generation as a side effect — use the app's 'Generate summary' action for that. Business context is unaffected by scenarios, so scenarioId resolves to its underlying workbookId.

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": {
      "sheetName": "<sheetName>"
    },
    "name": "get_business_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetNameYes
scenarioIdNo
workbookIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, it discloses the key behavioral trait that no generation side effect occurs and that a result may be absent if it was never generated. It could go further by stating exactly what is returned on a miss (null vs. error), which is the one remaining unknown.

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?

Three short sentences, each carrying distinct information: what is returned, the no-side-effect guarantee, and the scenario resolution rule. Nothing is redundant.

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 simple read tool with readOnly annotations and no output schema, the description covers purpose, non-mutation guarantee, and identifier semantics. Only the miss case's exact return shape is left implicit.

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 0%, so the description must compensate. It does well on the one non-obvious parameter, explaining that scenarioId resolves to its underlying workbookId because business context is scenario-independent, but leaves sheetName and workbookId resolution/precedence undocumented.

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?

Names a specific verb (Get) and a precise resource (AI-classified business purpose and tag for a sheet), and bounds it with 'if it has already been generated.' An agent knows exactly what comes back and that nothing is computed on demand.

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?

Explicitly states the negative case — never triggers generation, use the app's 'Generate summary' action instead — which is the main misuse risk. It does not point at an MCP sibling alternative, but the exclusion is clear and actionable.

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.

Resources