Skip to main content
Glama

Hide or restore a company

set_company_blocked
Idempotent

Excludes one employer from the user's matches, or removes its exclusion, and returns the full list of excluded employers.

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": {
      "company": "<company>",
      "blocked": "<blocked>"
    },
    "name": "set_company_blocked"
  }
}

Input Schema

NameRequiredDescriptionDefault
blockedYestrue excludes the company from matches, false restores it.
companyYesThe employer name as postings state it.
idempotency_keyNoRepeating a call with the same key and arguments returns its first result instead of acting again.

Output Schema

NameRequiredDescriptionDefault
blockedYesTrue when the employer is now excluded, false when it was restored.
changedYesTrue when this call changed the list, false when it already stood that way.
companyYesThe employer name the exclusion was recorded for.
companiesYesEvery employer the user excludes now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Optional. Repeating a call with the same key and arguments returns its first result instead of acting again."New value: +"Repeating a call with the same key and arguments returns its first result instead of acting again."
    • addedOutput schema / properties / blocked / description
      Added value: +"True when the employer is now excluded, false when it was restored."
    • addedOutput schema / properties / changed / description
      Added value: +"True when this call changed the list, false when it already stood that way."
    • addedOutput schema / properties / companies / description
      Added value: +"Every employer the user excludes now."
    • addedOutput schema / properties / companies / items / description
      Added value: +"One excluded employer."
    • addedOutput schema / properties / companies / items / properties
      Added value: +{
      +  "company": {
      +    "description": "The employer name as postings state it.",
      +    "type": "string"
      +  },
      +  "created_at": {
      +    "description": "When the employer was excluded, ISO 8601.",
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / companies / items / required
      Added value: +[
      +  "company",
      +  "created_at"
      +]
    • addedOutput schema / properties / company / description
      Added value: +"The employer name the exclusion was recorded for."
  2. Changed2 schema fields changed
    • addedInput schema / properties / blocked / description
      Added value: +"true excludes the company from matches, false restores it."
    • addedInput schema / properties / company / description
      Added value: +"The employer name as postings state it."
  3. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, and idempotent=true, so the safety profile is covered. The description adds that the call returns the full excluded-employer list after mutation, which is useful context, but says nothing about permission requirements, what happens to existing applications to a blocked employer, or any side effects beyond matching.

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 covering both directions of the toggle plus the return value, with no filler. It is dense but readable and appropriately sized for a three-parameter tool.

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?

With annotations covering idempotency and safety, a full output schema, and 100% parameter description coverage, the description supplies the remaining piece an agent needs: that the operation is a hide/restore toggle returning the excluded list. Only cross-tool routing guidance is missing.

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%, including the meaning of 'blocked', the expected employer-name format, and the idempotency_key contract, so the schema does the heavy lifting. The description restates the blocked semantics but adds no format or edge-case meaning beyond what is already documented.

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 specific verb and resource ('Excludes one employer from the user's matches, or removes its exclusion') and states the return payload. It is clearly a toggle-style write, distinct from read-only siblings like list_blocked_companies, though it does not name any sibling explicitly.

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 implied through the paired semantics of the 'blocked' flag (true hides, false restores), which is enough to know when to call it. There is no explicit guidance about when to prefer this over list_blocked_companies or other feedback/saved setters, and no stated prerequisites.

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