Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Föreslå byte av arbetsbolag

propose_company_switch
Read-onlyIdempotent

Prepares a switch of the working company, the company that changes are written to; reading needs no switch. Use when the person asks to work with another connected company. It changes nothing on its own: show the answer to the person, and the answer says how the switch is completed after their yes.

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_key": "<company_key>"
    },
    "name": "propose_company_switch"
  }
}

Input Schema

NameRequiredDescriptionDefault
company_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, but the description adds the crucial behavioral point that the tool 'changes nothing on its own' and that its return value is a message to be shown to the person containing the completion path. This resolves the tension between a mutation-sounding name and a read-only annotation. It does not state what happens on repeat calls or whether a prior proposal expires, but the essential flow is disclosed.

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?

Three sentences, each doing distinct work: what it does, when to use it, and how to handle the response. The parenthetical gloss on 'working company' is slightly heavy mid-sentence but is front-loaded where it matters. No filler or marketing language.

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 one-parameter proposal tool with no output schema, the definition covers the two things an agent would otherwise get wrong: that nothing is mutated and that the returned text must be surfaced to the user. The remaining gap — where to obtain a valid company_key — is the only meaningful omission.

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 carries the burden, and it only indirectly characterizes company_key via 'another connected company' — implying the value should come from a connected-company lookup. The numeric pattern constraint and the fact that the key is a company identifier rather than a name are left entirely to the schema. Baseline 3 for a single well-typed parameter with only indirect semantic guidance.

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?

States a specific verb ('prepares a switch') and resource ('the working company'), and immediately disambiguates the resource as 'the company that changes are written to'. That semantic gloss is genuinely useful since 'arbetsbolag' is not self-evident. It stops short of naming the execute_company_switch sibling it hands off to, so an agent must infer the pairing from the phrase 'how the switch is completed'.

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?

'Use when the person asks to work with another connected company' gives a clear triggering condition, and 'reading needs no switch' rules out a plausible wrong usage. No alternative tool is named, so the agent must infer that the actual switch is a separate call, but the prepare-then-confirm model is stated.

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