Skip to main content
Glama

Secteurs d'activité

list_job_sectors
Read-only

Liste les secteurs d'activité du référentiel des métiers, avec leur identifiant, pour filtrer une recherche sur un secteur entier. Inutile pour une question thématique simple : search_jobs cherche déjà dans le libellé du secteur. EN: Lists the activity sectors of the job reference, with their identifiers, to filter a search on a whole sector. Not needed for simple thematic questions: search_jobs already searches sector labels.

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": "list_job_sectors"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
totalYesNombre total de correspondances, ou null quand l amont n en fournit aucun — c est une information, pas un oubli. EN: Total number of matches, or null when upstream provides no count.
resultsYesPage de resultats, 20 au plus. EN: Page of results, at most 20.
_keptItemsNoNombre de resultats effectivement servis apres abregement. EN: Number of results actually served after abridging.
_truncatedNo
totalAtLeastNoBorne basse du total, servie quand le decompte amont sature son plafond. Dire alors « plus de N », jamais « N ». EN: Lower bound of the total, served when the upstream count is capped. Say « more than N », never « N ».
_returnedItemsNoNombre de resultats que la page portait avant abregement. EN: Number of results the page carried before abridging.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "_keptItems": {
      +      "description": "Nombre de resultats effectivement servis apres abregement. EN: Number of results actually served after abridging.",
      +      "type": "number"
      +    },
      +    "_returnedItems": {
      +      "description": "Nombre de resultats que la page portait avant abregement. EN: Number of results the page carried before abridging.",
      +      "type": "number"
      +    },
      +    "_truncated": {
      +      "type": "boolean"
      +    },
      +    "results": {
      +      "description": "Page de resultats, 20 au plus. EN: Page of results, at most 20.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "name": {
      +            "type": "string"
      +          },
      +          "slug": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "total": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Nombre total de correspondances, ou null quand l amont n en fournit aucun — c est une information, pas un oubli. EN: Total number of matches, or null when upstream provides no count."
      +    },
      +    "totalAtLeast": {
      +      "description": "Borne basse du total, servie quand le decompte amont sature son plafond. Dire alors « plus de N », jamais « N ». EN: Lower bound of the total, served when the upstream count is capped. Say « more than N », never « N ».",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "total",
      +    "results"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds that this is a bounded reference enumeration whose identifiers are meant to feed a subsequent sector filter, which is useful behavioral context an agent cannot get from the annotations. It does not discuss result size or ordering, but the output schema covers the return shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core content is front-loaded and wastes nothing per language, but the entire message is duplicated in French and English, which doubles length without adding information for an agent. The duplicated alternative-tool guidance is the bulk of it.

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?

For a zero-parameter static lookup with annotations covering safety and an output schema covering return values, the description supplies everything the agent still needs: purpose, output meaning, and the routing rule against search_jobs.

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?

The tool takes zero parameters, so the baseline is 4 and there is nothing for the description to disambiguate. It correctly implies a parameterless, unconditional lookup rather than a filtered query.

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 ('Liste les secteurs d'activité du référentiel des métiers') and immediately qualifies the output ('avec leur identifiant'), so an agent knows exactly what comes back. It also explicitly distances itself from search_jobs, which handles thematic queries.

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 both sides of the routing decision: use this to filter a search on an entire sector, and skip it for simple thematic questions because search_jobs already searches sector labels. The alternative is named along with the condition that selects it.

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.