Skip to main content
Glama

Set company context

set_company_context
Idempotent

Set what applies to anyone applying to this company. Text that fills an empty shared company is shown to every organization once it passes a personal-data check; otherwise it stays on this organization's own copy, and heldBack says why (PERSONAL_DATA or CHECK_UNAVAILABLE). The returned company id can differ from the one passed. Use it to write or fix this organization's text; use report_company_context when shared text from elsewhere is wrong, and update_company for name, domain and other fields. Any member may call it. Returns { company, heldBack }.

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": {
      "id": "<id>",
      "context": "<context>"
    },
    "name": "set_company_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCompany id (UUID from list_companies or get_company).
contextYesFull replacement text, up to 4000 characters, trimmed. An empty string clears this organization's text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/destructive annotations, the description discloses the propagation rule (fills an empty shared company and is shown to every organization only after a personal-data check), the fallback behavior for non-empty shared text, and the heldBack reasons PERSONAL_DATA or CHECK_UNAVAILABLE. It also warns that the returned company id can differ from the one passed — a non-obvious side effect nothing else in the definition covers.

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?

Four compact sentences, front-loaded with the propagation rule and then the sibling routing and return shape. Every sentence carries distinct information: behavior, alternatives, permissions, return value. No filler.

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

Completeness5/5

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

There is no output schema, and the description compensates by naming the return shape { company, heldBack } and explaining the enum-like heldBack values. Combined with the schema, an agent has everything needed to call it and interpret the result correctly.

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 coverage is 100%, with both parameters already documented including the 4000-character cap, trimming, and the empty-string clearing behavior, so the baseline is 3. The description adds no parameter-level detail of its own — its extra information concerns return behavior rather than argument meaning.

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 verb+resource pairing is clear once you reach 'Use it to write or fix this organization's text,' and the definition explicitly contrasts itself with report_company_context and update_company. The opening framing ('Set what applies to anyone applying to this company') is abstract and only becomes concrete in the second and fourth sentences.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It states the primary use case ('write or fix this organization's text') and explicitly routes two alternatives: report_company_context when shared text from elsewhere is wrong, and update_company for name, domain and other fields. It also adds the access condition ('Any member may call it'), leaving no ambiguity about when to pick this tool.

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