Skip to main content
Glama

Explain applicable employment-law rights

explain_my_rights
Read-only

Provide a nonblank issue or protected_class, or both. Explain which federal (and state, if a state is given) employment laws may protect a worker based on the type of issue (e.g. discrimination, harassment, retaliation, wrongful termination) and/or the protected class involved (e.g. race, sex, age, disability, pregnancy). Returns the relevant statutes with citations, who they cover (employer-size thresholds), filing deadlines and agencies, and available remedies. Use this to ground an answer about a worker’s legal protections. Deadline guidance covers private-sector and state/local government workers; federal employees follow a separate process with a much shorter deadline (45 days to contact their agency's EEO counselor). Educational information, not legal advice.

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

Input Schema

NameRequiredDescriptionDefault
issueNoType of workplace issue, e.g. "discrimination", "harassment", "retaliation", "wrongful termination", "unpaid wages", "disability accommodation".
stateNoUS state (2-letter code or full name) to include state-specific protections and the correct EEOC filing deadline.
employer_sectorNoWhether the employer is private, state/local government, or a federal agency.
protected_classNoProtected characteristic involved, e.g. "race", "sex", "age", "disability", "religion", "national origin", "pregnancy".

Output Schema

NameRequiredDescriptionDefault
issueNoThe workplace issue given.
stateNoThe state given, as a two-letter code.
state_lawsNoState laws that may apply, with claim-specific rules.
_attributionNoSource and disclaimer for this result: Workers' Rights, its URL, the attribution line, and that the result is educational information, not legal advice.
federal_lawsNoFederal laws that may apply, with citations and agencies.
clarificationNoFor a broad adverse action, a follow-up question and conditional examples with official sources.
state_sourcesNoOfficial state sources.
employer_sectorNoThe employer sector given.
protected_classNoThe protected class given.
additional_matchesNoFurther state laws not listed in this result.
eeoc_deadline_daysNoGeneral EEOC charge deadline in days for the state.
eeoc_extension_rulesNoWhen the general deadline can be extended.
federal_employee_noteNoNote on the separate federal-employee process.
federal_eeo_counselor_daysNoFederal-employee EEO counselor deadline in days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / description
      Added value: +"Provide a nonblank issue or protected_class, or both."
    • addedInput schema / minProperties
      Added value: +1
    • addedOutput schema / properties / clarification
      Added value: +{
      +  "description": "For a broad adverse action, a follow-up question and conditional examples with official sources.",
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "_attribution": {
      +      "description": "Source and disclaimer for this result: Workers' Rights, its URL, the attribution line, and that the result is educational information, not legal advice.",
      +      "properties": {
      +        "disclaimer": {
      +          "type": "string"
      +        },
      +        "line": {
      +          "type": "string"
      +        },
      +        "source": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "additional_matches": {
      +      "description": "Further state laws not listed in this result.",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "eeoc_deadline_days": {
      +      "description": "General EEOC charge deadline in days for the state.",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "eeoc_extension_rules": {
      +      "description": "When the general deadline can be extended.",
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "employer_sector": {
      +      "description": "The employer sector given.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "federal_eeo_counselor_days": {
      +      "description": "Federal-employee EEO counselor deadline in days.",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "federal_employee_note": {
      +      "description": "Note on the separate federal-employee process.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "federal_laws": {
      +      "description": "Federal laws that may apply, with citations and agencies.",
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "issue": {
      +      "description": "The workplace issue given.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "protected_class": {
      +      "description": "The protected class given.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "state": {
      +      "description": "The state given, as a two-letter code.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "state_laws": {
      +      "description": "State laws that may apply, with claim-specific rules.",
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "state_sources": {
      +      "description": "Official state sources.",
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / employer_sector
      Added value: +{
      +  "description": "Whether the employer is private, state/local government, or a federal agency.",
      +  "enum": [
      +    "private",
      +    "government",
      +    "federal_government"
      +  ],
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  5. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  6. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already mark this read-only, non-destructive and open-world, and the description still adds substantial context beyond them: what the result contains, that state law is only included when a state is supplied, that federal employees face a separate 45-day EEO-counselor deadline outside the covered deadline guidance, and that the output is educational rather than legal advice.

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-loads the input precondition, then purpose, then return contents, then the caveats and disclaimer — a sensible order with no filler sentences. It is dense and slightly long, with the deadline paragraph doing two jobs at once, but each sentence carries information an agent needs.

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 four-parameter lookup with an output schema, the description covers the input precondition, scope of law applied, result contents, the significant federal-employee exception, and the not-legal-advice framing. Nothing an agent needs in order to call and then correctly present the tool is missing.

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, and the description earns above that by explaining the conditional effect of `state` (adds state-specific protections and the correct EEOC filing deadline) and by restating the any-one-of constraint. `employer_sector`'s behavioral effect is only implied via the federal-employee caveat rather than spelled out per enum value.

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 and resource: explains which federal/state employment laws protect a worker, keyed to issue and/or protected class, and enumerates the returned artifacts (statutes with citations, coverage thresholds, deadlines, agencies, remedies). That is far more specific than a label, though it does not name a sibling such as get_eeoc_process, whose procedural focus overlaps and would have benefited from an explicit boundary.

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 this to ground an answer about a worker's legal protections" gives a clear situational trigger, and the federal-employee deadline caveat signals that the answer may need supplementing by a different process. There is no explicit when-not guidance or named alternative for the procedural side (get_eeoc_process), which is the main gap.

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