Skip to main content
Glama

Load saved segments

firmafakta_load
Read-only

Without name or id: list the account's saved segments with their ids (also those saved on firmafakta.se, where they are called Sparade urval). With one: that segment's expression and per, ready for count and fetch; id wins when both are given, and a name matches regardless of case, the first match if several share it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "firmafakta_load"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoa saved segment's id from the list; wins over name
nameNoa saved segment's name, any case; omit both name and id to list them

Output Schema

NameRequiredDescriptionDefault
idNo
perNo
nameNo
usageNo
watchNoset when the segment is or was watched
segmentNo
segmentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed67 schema fields changed
    • addedOutput schema / properties / id / title
      Added value: +"id"
    • removedOutput schema / properties / id / type
      Removed value: -"string"
    • addedOutput schema / properties / name / title
      Added value: +"name"
    • removedOutput schema / properties / name / type
      Removed value: -"string"
    • addedOutput schema / properties / per / title
      Added value: +"per"
    • removedOutput schema / properties / per / type
      Removed value: -"string"
    • addedOutput schema / properties / segment / title
      Added value: +"segment"
    • removedOutput schema / properties / segment / type
      Removed value: -"string"
    • addedOutput schema / properties / segments / items / properties / id / title
      Added value: +"id"
    • removedOutput schema / properties / segments / items / properties / id / type
      Removed value: -"string"
    • addedOutput schema / properties / segments / items / properties / last_run_at / title
      Added value: +"last_run_at"
    • removedOutput schema / properties / segments / items / properties / last_run_at / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • addedOutput schema / properties / segments / items / properties / name / title
      Added value: +"name"
    • removedOutput schema / properties / segments / items / properties / name / type
      Removed value: -"string"
    • addedOutput schema / properties / segments / items / properties / per / title
      Added value: +"per"
    • removedOutput schema / properties / segments / items / properties / per / type
      Removed value: -"string"
    • addedOutput schema / properties / segments / items / properties / watch / properties / active / title
      Added value: +"active"
    • removedOutput schema / properties / segments / items / properties / watch / properties / active / type
      Removed value: -"boolean"
    • addedOutput schema / properties / segments / items / properties / watch / properties / fields / items / title
      Added value: +"fields"
    • removedOutput schema / properties / segments / items / properties / watch / properties / fields / items / type
      Removed value: -"string"
    • removedOutput schema / properties / segments / items / properties / watch / properties / fields / type
      Removed value: -[
      -  "null",
      -  "array"
      -]
    • addedOutput schema / properties / segments / items / properties / watch / properties / mail / title
      Added value: +"mail"
    • removedOutput schema / properties / segments / items / properties / watch / properties / mail / type
      Removed value: -"string"
    • removedOutput schema / properties / segments / items / properties / watch / properties / stop_detail / type
      Removed value: -"string"
    • removedOutput schema / properties / segments / items / properties / watch / properties / stop_reason / type
      Removed value: -"string"
    • removedOutput schema / properties / segments / items / properties / watch / required
      Removed value: -[
      -  "active",
      -  "mail"
      -]
    • removedOutput schema / properties / segments / items / properties / watch / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / segments / items / required
      Removed value: -[
      -  "id",
      -  "name",
      -  "per",
      -  "last_run_at"
      -]
    • addedOutput schema / properties / segments / items / title
      Added value: +"segments"
    • removedOutput schema / properties / segments / items / type
      Removed value: -"object"
    • addedOutput schema / properties / segments / title
      Added value: +"segments"
    • removedOutput schema / properties / segments / type
      Removed value: -[
      -  "null",
      -  "array"
      -]
    • removedOutput schema / properties / usage / properties / credits_charged / maximum
      Removed value: -2147483647
    • removedOutput schema / properties / usage / properties / credits_charged / minimum
      Removed value: --2147483648
    • addedOutput schema / properties / usage / properties / credits_charged / title
      Added value: +"credits_charged"
    • removedOutput schema / properties / usage / properties / credits_charged / type
      Removed value: -"integer"
    • removedOutput schema / properties / usage / properties / credits_left / maximum
      Removed value: -2147483647
    • removedOutput schema / properties / usage / properties / credits_left / minimum
      Removed value: --2147483648
    • addedOutput schema / properties / usage / properties / credits_left / title
      Added value: +"credits_left"
    • removedOutput schema / properties / usage / properties / credits_left / type
      Removed value: -[
      -  "null",
      -  "integer"
      -]
    • removedOutput schema / properties / usage / properties / offer
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / usage / properties / plan / title
      Added value: +"plan"
    • removedOutput schema / properties / usage / properties / plan / type
      Removed value: -"string"
    • addedOutput schema / properties / usage / properties / refills_on / title
      Added value: +"refills_on"
    • removedOutput schema / properties / usage / properties / refills_on / type
      Removed value: -"string"
    • addedOutput schema / properties / usage / properties / throttled / properties / plan / title
      Added value: +"plan"
    • removedOutput schema / properties / usage / properties / throttled / properties / plan / type
      Removed value: -"string"
    • addedOutput schema / properties / usage / properties / throttled / properties / waited_ms / title
      Added value: +"waited_ms"
    • removedOutput schema / properties / usage / properties / throttled / properties / waited_ms / type
      Removed value: -"integer"
    • removedOutput schema / properties / usage / properties / throttled / required
      Removed value: -[
      -  "waited_ms",
      -  "plan"
      -]
    • addedOutput schema / properties / usage / properties / throttled / title
      Added value: +"throttled"
    • removedOutput schema / properties / usage / properties / throttled / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / usage / required
      Removed value: -[
      -  "plan",
      -  "credits_charged"
      -]
    • addedOutput schema / properties / usage / title
      Added value: +"usage"
    • removedOutput schema / properties / usage / type
      Removed value: -"object"
    • addedOutput schema / properties / watch / properties / active / title
      Added value: +"active"
    • removedOutput schema / properties / watch / properties / active / type
      Removed value: -"boolean"
    • addedOutput schema / properties / watch / properties / fields / items / title
      Added value: +"fields"
    • removedOutput schema / properties / watch / properties / fields / items / type
      Removed value: -"string"
    • removedOutput schema / properties / watch / properties / fields / type
      Removed value: -[
      -  "null",
      -  "array"
      -]
    • addedOutput schema / properties / watch / properties / mail / title
      Added value: +"mail"
    • removedOutput schema / properties / watch / properties / mail / type
      Removed value: -"string"
    • removedOutput schema / properties / watch / properties / stop_detail / type
      Removed value: -"string"
    • removedOutput schema / properties / watch / properties / stop_reason / type
      Removed value: -"string"
    • removedOutput schema / properties / watch / required
      Removed value: -[
      -  "active",
      -  "mail"
      -]
    • removedOutput schema / properties / watch / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / required
      Removed value: -[
      -  "usage"
      -]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / segments / items / properties / watch
      Added value: +{
      +  "description": "set when the segment is or was watched",
      +  "properties": {
      +    "active": {
      +      "type": "boolean"
      +    },
      +    "fields": {
      +      "description": "the fields that count; omitted means all",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": [
      +        "null",
      +        "array"
      +      ]
      +    },
      +    "mail": {
      +      "type": "string"
      +    },
      +    "stop_detail": {
      +      "description": "for a filter stop, the field that no longer works",
      +      "type": "string"
      +    },
      +    "stop_reason": {
      +      "description": "why watching stopped by itself: credits (starts again at the next refill or top-up), plan (needs Standard or Pro) or filter (the saved segment's filter no longer runs; change it)",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "active",
      +    "mail"
      +  ],
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
    • addedOutput schema / properties / watch
      Added value: +{
      +  "description": "set when the segment is or was watched",
      +  "properties": {
      +    "active": {
      +      "type": "boolean"
      +    },
      +    "fields": {
      +      "description": "the fields that count; omitted means all",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": [
      +        "null",
      +        "array"
      +      ]
      +    },
      +    "mail": {
      +      "type": "string"
      +    },
      +    "stop_detail": {
      +      "description": "for a filter stop, the field that no longer works",
      +      "type": "string"
      +    },
      +    "stop_reason": {
      +      "description": "why watching stopped by itself: credits (starts again at the next refill or top-up), plan (needs Standard or Pro) or filter (the saved segment's filter no longer runs; change it)",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "active",
      +    "mail"
      +  ],
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"a saved segment's id"New value: +"a saved segment's id from the list; wins over name"
    • changedInput schema / properties / name / description
      Previous value: -"a saved segment's name"New value: +"a saved segment's name, any case; omit both name and id to list them"
  4. Changed5 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / segments / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / usage / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / usage / properties / offer
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / usage / properties / throttled / additionalProperties
      Removed value: -false
  5. 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/non-destructive annotations, the description discloses real behavioral traits: listing includes segments saved on the external site under a different label, id takes precedence when both parameters are supplied, name matching is case-insensitive, and the first match is returned when names collide. These precedence and tie-breaking rules are exactly what an agent needs and are not derivable from the annotations.

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?

One front-loaded sentence with a colon-separated mode split; the list case comes first and the resolution case second, matching likely call order. The parenthetical about firmafakta.se is slightly heavy but earns its place by explaining an alias an agent may encounter.

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?

An output schema exists, so return values need not be described, and the description covers both invocation modes plus matching and precedence rules. The only gap is failure behavior — what happens when a supplied name matches nothing — which an agent would benefit from knowing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds semantics the schema lacks — specifically the tie-break rule ('the first match if several share it') and the framing of both parameters as optional selectors whose absence switches the tool into list mode.

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?

The description names a specific verb and resource and splits the tool's two modes explicitly: no arguments lists saved segments with their ids, one argument returns that segment's expression and 'per'. It also flags the external naming ('Sparade urval' on firmafakta.se), so an agent can identify the resource unambiguously.

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?

It gives a clear call pattern (omit both to list; supply one to resolve) and states the downstream purpose by noting the result is 'ready for count and fetch', which routes the agent into the right workflow. It stops short of naming an explicit alternative or when-not-to-use case, so it falls just under full marks.

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.