Skip to main content
Glama

Beskriv fälten i en del

describe_section
Read-onlyIdempotent

Beskriver vilka fält en del av utkastet har, så att du inte behöver gissa nycklar.

Använd innan update_fields eller update_list_item när du är osäker på en fältnyckel, en notbokstav, ett tecken eller vilka rader en lista har. Läser samma data som read_draft (live om utkastet är öppet, annars sparat) och ändrar ingenting.

Returnerar fields med key, type, ascii_alias (för nycklar med å, ä och ö), note och note_name (noter), sign (förväntat tecken), computed (räknas av guiden), user_decision (ställningstagande som användaren gör själv), allowed (tillåtna värden) och list_item (radens fält och vilken nyckel raden hittas med). Noter har även note_letters (bokstav -> notnamn).

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": {
      "draft_id": "<draft_id>",
      "section": "<section>"
    },
    "name": "describe_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionYesDelen att beskriva: overview, income_statement, balance_sheet, tax, management_report, notes eller signature.
draft_idYesUtkastets id (draft_id), t.ex. från list_drafts. Utkastet måste tillhöra det anslutna kontot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses that the tool reads the same data as read_draft, that the data is live when the draft is open and saved otherwise, and that it mutates nothing. That live-vs-saved nuance is real behavioral context an agent cannot get from the annotations alone.

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?

Purpose and when-to-use are front-loaded in two tight sentences. The final paragraph is a long enumeration of return fields, but because no output schema exists it earns its space rather than being padding.

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?

With no output schema, the description fully documents the return shape: key, type, ascii_alias for å/ä/ö keys, note/note_name, sign, computed, user_decision, allowed, list_item, and note_letters. Together with the live/saved caveat, an agent has everything needed to call and interpret it.

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% and the section enum plus draft_id are already documented in the schema, so the description adds no format or constraint detail for either parameter. Baseline 3 applies since 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?

States a specific verb and resource: it describes which fields a section of the draft exposes, with the explicit rationale that the agent need not guess keys. It also distinguishes itself from read_draft by saying it reads the same underlying data, so the two tools are not confused.

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?

Gives an explicit trigger ('Använd innan update_fields eller update_list_item när du är osäker på en fältnyckel...') and names the concrete uncertainties (field key, note letter, character, list rows) that justify calling it. The alternatives are named by sibling name, so routing is unambiguous.

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.