Skip to main content
Glama

Skapa förfrågan i kundportalen

create_kundportal_request

Skapar en förfrågan i kundportalen: byrån ber kunden om ett underlag eller ett svar, t.ex. ett kontoutdrag eller ett kvitto som saknas. Kunden ser förfrågan i Kvickd och svarar och laddar upp där. Kräver att bolaget sköts av en byrå och att användaren är byråns medlem med minst en skrivbehörighet i bolaget. Ingen e-post skickas. Returnerar förfrågan med id och status oppen.

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": {
      "orgnr": "<orgnr>",
      "title": "<title>"
    },
    "name": "create_kundportal_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgnrYesBolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies.
titleYesVad byrån behöver, kort, t.ex. Kontoutdrag för mars (högst 200 tecken).
due_dateNoValfritt: sista dag, ÅÅÅÅ-MM-DD, t.ex. 2026-11-15.
descriptionNoValfritt: det kunden behöver veta, t.ex. vilka sidor eller vilken period.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Adds substantial context beyond annotations: no email is sent, the client sees and answers it in Kvickd, authorization requirements, and the return shape (id and status 'oppen'). The one meaningful gap is that idempotentHint=false is never surfaced — nothing warns that calling twice creates two separate requests, which is the most likely real-world mistake.

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?

Front-loaded with the verb and resource, then layers prerequisites and return behavior efficiently in a short paragraph with no filler. The opening clause slightly duplicates the tool name and title, a minor redundancy rather than a flaw.

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?

No output schema exists, but the description compensates by naming the returned fields (id, status). Prerequisites, channel behavior and the no-email fact are all present. Missing only duplicate-creation behavior and any limit on request volume, which are minor for a 4-parameter creation tool.

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%, so the schema already documents orgnr format, title length limit, due_date format and the optional description. The description adds nothing parameter-specific beyond the general prerequisite about the company being agency-managed. Baseline 3 applies when the schema does the heavy lifting.

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?

Specific verb plus resource ('Skapar en förfrågan i kundportalen') immediately followed by a plain-language definition of what a kundportal request actually is: the agency asking the client for documentation or an answer. The example (missing bank statement or receipt) makes it distinguishable from siblings like create_underlag_upload or create_rot_rut_request without opening any schema.

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?

Gives clear triggering context ('t.ex. ett kontoutdrag eller ett kvitto som saknas') and states the prerequisites (company must be agency-managed, user must be an agency member with at least write permission). It also rules out the email channel, which is the most likely wrong assumption. It does not explicitly name a sibling alternative for the case where the tool is not appropriate, which keeps it at 4.

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